diff --git a/net/l2tp/Makefile b/net/l2tp/Makefile index b288d4341..7bd0cd2fa 100644 --- a/net/l2tp/Makefile +++ b/net/l2tp/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= l2tp PLUGIN_VERSION= 1.0 -PLUGIN_REVISION= 2 +PLUGIN_REVISION= 3 PLUGIN_DEPENDS= clog mpd5 PLUGIN_COMMENT= L2TP server based on MPD5 PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc b/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc index 6d27564e0..2aa1648be 100644 --- a/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc +++ b/net/l2tp/src/etc/inc/plugins.inc.d/if_l2tp.inc @@ -78,6 +78,7 @@ function if_l2tp_link_scripts($rootdir, $logtype = 'l2tp') #!/bin/sh /usr/bin/logger -p local3.info "login,%s,$4,$5" +/sbin/ifconfig $1 group l2tp EOD; $down = <<<'EOD' diff --git a/net/pppoe/Makefile b/net/pppoe/Makefile index 7e5e621dd..b453f7157 100644 --- a/net/pppoe/Makefile +++ b/net/pppoe/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= pppoe PLUGIN_VERSION= 1.0 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_DEPENDS= clog mpd5 PLUGIN_COMMENT= PPPoE server based on MPD5 PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc b/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc index 130e73e02..24f03a4fe 100644 --- a/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc +++ b/net/pppoe/src/etc/inc/plugins.inc.d/if_pppoe.inc @@ -85,6 +85,7 @@ function if_pppoe_link_scripts($rootdir, $logtype = 'poes') #!/bin/sh /usr/bin/logger -p local3.info "login,%s,$4,$5" +/sbin/ifconfig $1 group pppoe EOD; $down = <<<'EOD' diff --git a/net/pptp/Makefile b/net/pptp/Makefile index 9b18b6536..970061b81 100644 --- a/net/pptp/Makefile +++ b/net/pptp/Makefile @@ -1,6 +1,6 @@ PLUGIN_NAME= pptp PLUGIN_VERSION= 1.0 -PLUGIN_REVISION= 1 +PLUGIN_REVISION= 2 PLUGIN_DEPENDS= clog mpd5 PLUGIN_COMMENT= PPTP server based on MPD5 PLUGIN_MAINTAINER= franco@opnsense.org diff --git a/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc b/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc index 3c6e2d589..90047901c 100644 --- a/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc +++ b/net/pptp/src/etc/inc/plugins.inc.d/if_pptp.inc @@ -78,6 +78,7 @@ function if_pptp_link_scripts($rootdir, $logtype = 'pptp') #!/bin/sh /usr/bin/logger -p local3.info "login,%s,$4,$5" +/sbin/ifconfig $1 group pptp EOD; $down = <<<'EOD'