summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-10-12 22:01:40 +0000
committerErmal <eri@pfsense.org>2010-10-12 22:01:40 +0000
commitdf2a0f1861be7a4b751bc4cb6e5fe7025b8f0f9c (patch)
tree219b80929a69cad385506a5f55b61e86ff64684b /etc
parent3c69217457175c82b73922fca2ce578c3dbfc221 (diff)
downloadpfsense-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.inc2
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);
OpenPOWER on IntegriCloud