dhcpd: make private consumers actually private where it matters

This commit is contained in:
Franco Fichtner 2024-04-05 12:06:31 +02:00
parent 14cc9a1c2f
commit b53fe7c1d9
3 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ foreach (new SplFileObject($leases_file) as $line) {
}
/* since a route requires a gateway address try to derive it from static mapping as well */
foreach (plugins_run('static_mapping') as $map) {
foreach (plugins_run('static_mapping:dhcpd') as $map) {
foreach ($map as $host) {
if (empty($host['duid'])) {
continue;

View File

@ -11,7 +11,7 @@ type:script_output
message:list arp table
[list.static]
command:/usr/local/sbin/pluginctl -r static_mapping 4
command:/usr/local/sbin/pluginctl -r static_mapping:dhcpd 4
parameters:%s
type:script_output
message: list dhcp static mappings %s

View File

@ -5,7 +5,7 @@ type:script_output
message:list dhcpv6 leases %s
[list.static]
command:/usr/local/sbin/pluginctl -r static_mapping 6
command:/usr/local/sbin/pluginctl -r static_mapping:dhcpd 6
parameters:%s
type:script_output
message: list dhcpv6 static mappings %s