summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-04 19:06:48 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-04 19:06:48 +0000
commit653480c542791803f7a5c6c061ecefc1b47caba8 (patch)
treebb69dedbcc43f7132f0c82d35e2df7bc3dec33fd /etc/inc/pfsense-utils.inc
parent6d648622f1d4248ba182564b33ff5189c4c65df7 (diff)
downloadpfsense-653480c542791803f7a5c6c061ecefc1b47caba8.zip
pfsense-653480c542791803f7a5c6c061ecefc1b47caba8.tar.gz
Do not clear loopback interface
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index c2668d5..c5e27b8 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1420,6 +1420,8 @@ function reload_all_sync() {
$iflist = split(" ", str_replace("\n", "", `/sbin/ifconfig -l`));
foreach ($iflist as $ifent => $ifname) {
$ifname_real = convert_friendly_interface_to_real_interface_name($ifname);
+ if($ifname_real == "lo0")
+ continue;
mwexec("/sbin/ifconfig {$ifname_real} down");
mwexec("/sbin/ifconfig {$ifname_real} delete");
}
OpenPOWER on IntegriCloud