Skip to content

Commit

Permalink
KEA DHCP - add xmlrpc sync for #6971
Browse files Browse the repository at this point in the history
  • Loading branch information
AdSchellevis committed Nov 26, 2023
1 parent e1682cc commit 7f6ac2a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/etc/inc/plugins.inc.d/kea.inc
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,18 @@ function kea_syslog()
$logfacilities['kea'] = ['facility' => ['kea-dhcp4', 'kea-dhcp6', 'kea-ctrl-agent']];
return $logfacilities;
}


function kea_xmlrpc_sync()
{
$result = [];

$result[] = [
'description' => gettext('Kea DHCP'),
'section' => 'OPNsense.Kea',
'id' => 'kea',
'services' => ["kea-dhcpv4"],
];

return $result;
}

0 comments on commit 7f6ac2a

Please sign in to comment.