summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-07 02:40:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-07 02:40:57 +0000
commit425e4c29129b63035dc508ced53658a393a05ccd (patch)
tree51c09cd0744b0308648e4e3bc11c4336e291a195 /etc/inc
parente90bd04a3f40982fd086aff1a759fa8f773cf80d (diff)
downloadpfsense-425e4c29129b63035dc508ced53658a393a05ccd.zip
pfsense-425e4c29129b63035dc508ced53658a393a05ccd.tar.gz
Add WAN to $iflist
Diffstat (limited to 'etc/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