summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-20 05:29:19 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-20 05:29:19 +0000
commit01ea39c87f1b5f5580f3cbdf06fcf8a66a127664 (patch)
treee172a6c0a72e841bb39276397fbe3e3be846f6a5
parente9c2085e0323f6304a74a0dbd3e6302beba7b979 (diff)
downloadpfsense-01ea39c87f1b5f5580f3cbdf06fcf8a66a127664.zip
pfsense-01ea39c87f1b5f5580f3cbdf06fcf8a66a127664.tar.gz
Delete interface settings when reloading
-rw-r--r--etc/inc/pfsense-utils.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index b1f4c85..0fda19a 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1211,6 +1211,7 @@ function reload_interfaces_sync() {
foreach ($iflist as $ifent => $ifname) {
$ifname_real = convert_friendly_interface_to_real_interface_name($ifname);
mwexec("/sbin/ifconfig {$ifname_real} down");
+ mwexec("/sbin/ifconfig {$ifname_real} delete");
}
/* set up LAN interface */
OpenPOWER on IntegriCloud