From 1e8a05a2c1eddb7156116fbf5ef63769596994a8 Mon Sep 17 00:00:00 2001 From: bcyrill Date: Wed, 30 Jan 2013 18:30:11 +0100 Subject: Update etc/inc/interfaces.inc With the new support for multiple stf interfaces their names have changed. Adapt the regex pattern. --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') 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); } -- cgit v1.1