mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
interfaces: update the style of the newwanip calls
This commit is contained in:
parent
2a1ccae959
commit
23bf1ee05d
@ -2528,7 +2528,7 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
|
||||
plugins_configure('dhcp', $verbose);
|
||||
plugins_configure('dns', $verbose);
|
||||
/* XXX not ideal but avoids "errors" in the log */
|
||||
plugins_configure('newwanip_map:rfc2136', $verbose, [$interface]);
|
||||
plugins_configure('newwanip_map:rfc2136', $verbose, [[$interface]]);
|
||||
}
|
||||
|
||||
/* XXX device dependency plugin hook */
|
||||
|
||||
@ -115,5 +115,5 @@ if (is_ipaddr($cacheip) && $ip != $cacheip) {
|
||||
/* register IP change not before this point as basic connectivity is needed */
|
||||
@file_put_contents($cacheip_file, $ip . PHP_EOL);
|
||||
|
||||
plugins_configure('vpn', false, [$interface, 'inet']);
|
||||
plugins_configure('newwanip_map', false, [$interface, 'inet']);
|
||||
plugins_configure('vpn', false, [[$interface], 'inet']);
|
||||
plugins_configure('newwanip_map', false, [[$interface], 'inet']);
|
||||
|
||||
@ -124,5 +124,5 @@ system_routing_configure(false, $interfaces, true, 'inet6');
|
||||
|
||||
filter_configure_sync();
|
||||
|
||||
plugins_configure('vpn', false, [join(',', $interfaces), 'inet6']);
|
||||
plugins_configure('newwanip_map', false, [join(',', $interfaces), 'inet6']);
|
||||
plugins_configure('vpn', false, [$interfaces, 'inet6']);
|
||||
plugins_configure('newwanip_map', false, [$interfaces, 'inet6']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user