diff options
author | bcyrill <cyrill@bannwart.info> | 2013-01-30 18:30:11 +0100 |
---|---|---|
committer | bcyrill <cyrill@bannwart.info> | 2013-01-30 18:30:11 +0100 |
commit | 1e8a05a2c1eddb7156116fbf5ef63769596994a8 (patch) | |
tree | 580cc8dc26ce53d97fe780615b5be9b7a72804b6 /etc | |
parent | e2a282a0b9f7ee1636e1c2ec15e767a2f5b43fb6 (diff) | |
download | pfsense-1e8a05a2c1eddb7156116fbf5ef63769596994a8.zip pfsense-1e8a05a2c1eddb7156116fbf5ef63769596994a8.tar.gz |
Update etc/inc/interfaces.inc
With the new support for multiple stf interfaces their names have changed. Adapt the regex pattern.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index a666387..5581d5d 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1208,7 +1208,7 @@ function interface_bring_down($interface = "wan", $destroy = false, $ifacecfg = } if ($destroy == true) { - if (preg_match("/^[a-z0-9]+_vip|^tun|^ovpn|^gif|^gre|^lagg|^bridge|vlan|^stf/i", $realif)) + if (preg_match("/^[a-z0-9]+_vip|^tun|^ovpn|^gif|^gre|^lagg|^bridge|vlan|_stf$/i", $realif)) pfSense_interface_destroy($realif); } |