summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-20 05:30:25 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-20 05:30:25 +0000
commit1120ff5725e1c44d1405da44d737e3f2e2cf6ce6 (patch)
tree620c38ddb27e17e20d473f912e2964af3ecdc343 /etc
parent01ea39c87f1b5f5580f3cbdf06fcf8a66a127664 (diff)
downloadpfsense-1120ff5725e1c44d1405da44d737e3f2e2cf6ce6.zip
pfsense-1120ff5725e1c44d1405da44d737e3f2e2cf6ce6.tar.gz
Delete interface settings when reloading in both reload_ calls
Diffstat (limited to 'etc')
-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 0fda19a..d74bc29 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1335,6 +1335,7 @@ function reload_all_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