mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
dhcpd: make private consumers actually private where it matters
This commit is contained in:
parent
14cc9a1c2f
commit
b53fe7c1d9
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user