summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2013-01-30 18:30:11 +0100
committerbcyrill <cyrill@bannwart.info>2013-01-30 18:30:11 +0100
commit1e8a05a2c1eddb7156116fbf5ef63769596994a8 (patch)
tree580cc8dc26ce53d97fe780615b5be9b7a72804b6 /etc
parente2a282a0b9f7ee1636e1c2ec15e767a2f5b43fb6 (diff)
downloadpfsense-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.inc2
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);
}
OpenPOWER on IntegriCloud