diff options
author | Ermal <eri@pfsense.org> | 2014-04-12 06:20:32 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-04-12 06:20:32 +0000 |
commit | f96b9a1830ee2b08c142207ebfa4f695d0628853 (patch) | |
tree | ee62a2a5a5e9779188b66b8a17b311becbcc3fc7 /etc/rc.linkup | |
parent | d22169cfd68a26c04ca6d1aa997575f1b3e4cc80 (diff) | |
download | pfsense-f96b9a1830ee2b08c142207ebfa4f695d0628853.zip pfsense-f96b9a1830ee2b08c142207ebfa4f695d0628853.tar.gz |
Take care of the loops reported for OpenVPN in tap mode. Also fixes the problems of tap disappearing from bridge if its a member.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-x | etc/rc.linkup | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup index 1994336..b39f876 100755 --- a/etc/rc.linkup +++ b/etc/rc.linkup @@ -60,7 +60,8 @@ function handle_argument_group($iface, $argument2) { interfaces_staticarp_configure($iface); $iface = get_real_interface($iface); interfaces_bring_up($iface); - if ($argument2 == "start" || $argument2 == "up") + /* NOTE: Do not generate event for OpenVPN since the daemon does that for us. */ + if (($argument2 == "start" || $argument2 == "up") && substr($iface, 0, 4) != "ovpn") send_event("interface newip {$iface}"); } else { switch ($argument2) { |