summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-06-14 11:29:31 +0000
committerErmal <eri@pfsense.org>2010-06-14 11:29:31 +0000
commite03b0a03fb52f94e4f2a85baecdcb9ada18ec939 (patch)
tree3f0f035ec8c8a2c4d3ca9f680b2d5acee71b7680 /etc
parentaceedad44980491be954a98a170691a3cc23a57b (diff)
downloadpfsense-e03b0a03fb52f94e4f2a85baecdcb9ada18ec939.zip
pfsense-e03b0a03fb52f94e4f2a85baecdcb9ada18ec939.tar.gz
Fixes #632. Use the correct function to handle vip destory.
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 9e17d20..731d42a 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -849,7 +849,7 @@ function interface_bring_down($interface = "wan", $destroy = false) {
}
if ($destroy == true) {
- if (preg_match("/^tun|^ovpn|^gif|^gre|^lagg|^bridge|vlan/i", $realif))
+ if (preg_match("/^vip/^tun|^ovpn|^gif|^gre|^lagg|^bridge|vlan/i", $realif))
pfSense_interface_destroy($realif);
}
OpenPOWER on IntegriCloud