summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-08-19 15:29:33 +0000
committerErmal <eri@pfsense.org>2010-08-19 15:29:33 +0000
commit003f291aac13c6e88aa6a2e150ee386405d113a1 (patch)
tree4ac893f125a6d207253be5b431b904e466c45a7a
parent7d6128e05b8637d242a96a197e4a93ceb1334166 (diff)
downloadpfsense-003f291aac13c6e88aa6a2e150ee386405d113a1.zip
pfsense-003f291aac13c6e88aa6a2e150ee386405d113a1.tar.gz
Ticket #684. Actually when reconfiguring an interface send the destory flag to avoid a loop with ppp-on-demand.
-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 213936d..5d5075a 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -2322,7 +2322,7 @@ function interface_configure($interface = "wan", $reloadall = false) {
if (!$g['booting']) {
/* remove all IPv4 addresses */
while (mwexec("/sbin/ifconfig " . escapeshellarg($realif) . " -alias", true) == 0);
- interface_bring_down($interface);
+ interface_bring_down($interface, true);
}
/* wireless configuration? */
OpenPOWER on IntegriCloud