diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-01-30 11:06:23 -0800 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-01-30 11:06:23 -0800 |
commit | c11d666b903bba335f628fb88978b200827eb33a (patch) | |
tree | 712fe11e9ead24fd7d78f68a17f9fcc66ff990a1 /etc | |
parent | 9cd6b950231ce5cbbaa1a93a46ea7d28e9839cbc (diff) | |
parent | 1e8a05a2c1eddb7156116fbf5ef63769596994a8 (diff) | |
download | pfsense-c11d666b903bba335f628fb88978b200827eb33a.zip pfsense-c11d666b903bba335f628fb88978b200827eb33a.tar.gz |
Merge pull request #362 from bcyrill/patch-4
Adapt regex pattern for new stp interface naming
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 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); } |