diff options
author | Ermal <eri@pfsense.org> | 2010-10-12 22:01:40 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-10-12 22:01:40 +0000 |
commit | df2a0f1861be7a4b751bc4cb6e5fe7025b8f0f9c (patch) | |
tree | 219b80929a69cad385506a5f55b61e86ff64684b /etc | |
parent | 3c69217457175c82b73922fca2ce578c3dbfc221 (diff) | |
download | pfsense-df2a0f1861be7a4b751bc4cb6e5fe7025b8f0f9c.zip pfsense-df2a0f1861be7a4b751bc4cb6e5fe7025b8f0f9c.tar.gz |
Resolves #944. Actually bring down the vlan interface if it existed previously. This is a regression from the ppp dance/requests/whatever.
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 5e00ad8..add42dc 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -133,7 +133,7 @@ function interface_vlan_configure(&$vlan) { pfSense_interface_capabilities($if, IFCAP_VLAN_HWTAGGING|IFCAP_VLAN_MTU|IFCAP_VLAN_HWFILTER); if (!empty($vlanif) && does_interface_exist($vlanif)) { - interface_bring_down($vlanif); + interface_bring_down($vlanif, true); } else { $tmpvlanif = pfSense_interface_create("vlan"); pfSense_interface_rename($tmpvlanif, $vlanif); |