diff --git a/net/wireguard/Makefile b/net/wireguard/Makefile index c899230a1..e30ee70a2 100644 --- a/net/wireguard/Makefile +++ b/net/wireguard/Makefile @@ -1,5 +1,5 @@ PLUGIN_NAME= wireguard -PLUGIN_VERSION= 0.1 +PLUGIN_VERSION= 0.2 PLUGIN_COMMENT= WireGuard VPN service PLUGIN_DEPENDS= wireguard PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/net/wireguard/src/etc/rc.d/opnsense-wireguard b/net/wireguard/src/etc/rc.d/opnsense-wireguard index a7578ff26..d820901a2 100755 --- a/net/wireguard/src/etc/rc.d/opnsense-wireguard +++ b/net/wireguard/src/etc/rc.d/opnsense-wireguard @@ -27,7 +27,7 @@ wireguard_stop() echo "stopping wireguard" for STARTER in ${wireguard_config}; do $command down $STARTER - ifconfig destroy $STARTER + ifconfig $STARTER destroy pkill -f wg-quick done }