summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-25 22:50:31 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-25 22:50:31 +0000
commitc0b131a5f446168104ab15be5e09e6b60f3afd5a (patch)
tree28021e98e0a2a0985d8100d2ef6bccd4cf72b615 /etc
parent161040eb43e7a4d5c44bc784ce3b8c7c49e261c2 (diff)
downloadpfsense-c0b131a5f446168104ab15be5e09e6b60f3afd5a.zip
pfsense-c0b131a5f446168104ab15be5e09e6b60f3afd5a.tar.gz
Oops, down the interface first, then delete.
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 09ea123..28b7f16 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -58,7 +58,7 @@ function interfaces_vlan_configure() {
/* sweep through and axe old interfaces */
$vlan_count = get_number_of_vlan_interfaces();
for($x=0; $x<$vlan_count; $x++)
- exec("/sbin/ifconfig vlan{$x} delete down");
+ exec("/sbin/ifconfig vlan{$x} down delete");
$i = 0;
OpenPOWER on IntegriCloud