summaryrefslogtreecommitdiffstats
path: root/etc/inc/pfsense-utils.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r--etc/inc/pfsense-utils.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc
index ffe68b8..385acee 100644
--- a/etc/inc/pfsense-utils.inc
+++ b/etc/inc/pfsense-utils.inc
@@ -1373,7 +1373,7 @@ function reload_interfaces_sync() {
log_error("Cleaning up Interfaces");
/* build an array of interfaces to work with */
- $iflist = array("lan" => "LAN");
+ $iflist = array("lan" => "LAN", "wan" => "WAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++)
$iflist['opt' . $i] = "opt{$i}";
@@ -1629,7 +1629,7 @@ function reload_all_sync() {
$lan_if = $config['interfaces']['lan']['if'];
/* build an array of interfaces to work with */
- $iflist = array("lan" => "LAN");
+ $iflist = array("lan" => "LAN", "wan" => "WAN");
for ($i = 1; isset($config['interfaces']['opt' . $i]); $i++)
$iflist['opt' . $i] = "opt{$i}";
OpenPOWER on IntegriCloud