mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
net/wireguard: add a filter reload if something was reconfigured
PR: https://forum.opnsense.org/index.php?topic=37248.0
This commit is contained in:
parent
0b70e35c8c
commit
7b94f91a5f
3 changed files with 7 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PLUGIN_NAME= wireguard
|
||||
PLUGIN_VERSION= 2.5
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= WireGuard VPN service kernel implementation
|
||||
PLUGIN_DEPENDS= wireguard-kmod
|
||||
PLUGIN_CONFLICTS= wireguard-go
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ Changelog
|
|||
|
||||
* Fix error with empty tunnel address in instance (contributed by Monviech)
|
||||
* Switch "setconf" to "syncconf" on (re)configuration
|
||||
* Fix regression of UUID return in setClientAction()
|
||||
* Reload the packet filter after reconfiguration
|
||||
* Allow instance selection from peer
|
||||
* Use "syncconf" on newwanip event
|
||||
* CARP event handling improvements
|
||||
|
|
|
|||
|
|
@ -294,5 +294,9 @@ if (isset($opts['h']) || empty($args) || !in_array($args[0], ['start', 'stop', '
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (count($server_devs)) {
|
||||
configd_run('filter reload'); /* XXX required for NAT rules, but needs coalescing */
|
||||
}
|
||||
}
|
||||
closelog();
|
||||
|
|
|
|||
Loading…
Reference in a new issue