mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
interfaces: move legacy RFC2136 to plugin hook
We can't remove it now and we can't widen the call since local and newwanip_map are mostly the same, but also different. Use the selector trick to just invoke what we need and lose the configd error. PR: https://www.reddit.com/r/opnsense/comments/1fi5mw3/rfc2136_errors_in_audit_log/
This commit is contained in:
parent
5c7f4ab166
commit
842075ca06
@ -2527,8 +2527,8 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal
|
||||
plugins_configure('ipsec', $verbose, [$interface]);
|
||||
plugins_configure('dhcp', $verbose);
|
||||
plugins_configure('dns', $verbose);
|
||||
/* XXX move this up the call stack */
|
||||
configdp_run('rfc2136 reload', [$interface]);
|
||||
/* XXX not ideal but avoids "errors" in the log */
|
||||
plugins_configure('newwanip_map:rfc2136', $verbose, [$interface]);
|
||||
}
|
||||
|
||||
/* XXX device dependency plugin hook */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user