From c0b131a5f446168104ab15be5e09e6b60f3afd5a Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 25 Jan 2007 22:50:31 +0000 Subject: Oops, down the interface first, then delete. --- etc/inc/interfaces.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1