summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-01-30 11:06:23 -0800
committerErmal Luçi <eri@pfsense.org>2013-01-30 11:06:23 -0800
commitc11d666b903bba335f628fb88978b200827eb33a (patch)
tree712fe11e9ead24fd7d78f68a17f9fcc66ff990a1
parent9cd6b950231ce5cbbaa1a93a46ea7d28e9839cbc (diff)
parent1e8a05a2c1eddb7156116fbf5ef63769596994a8 (diff)
downloadpfsense-c11d666b903bba335f628fb88978b200827eb33a.zip
pfsense-c11d666b903bba335f628fb88978b200827eb33a.tar.gz
Merge pull request #362 from bcyrill/patch-4
Adapt regex pattern for new stp interface naming
-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 96525b0..51400d2 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