diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2008-06-20 12:56:29 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2008-06-20 12:56:29 +0000 |
commit | 5d0ff141eb68a284405e1f6ee83b08076725a490 (patch) | |
tree | df28cab9751771b378ddd656f0731c69f2baf9c1 /etc/inc/util.inc | |
parent | 8ddbd34d4d92813d2273961a88ca1ff9d37cc031 (diff) | |
download | pfsense-5d0ff141eb68a284405e1f6ee83b08076725a490.zip pfsense-5d0ff141eb68a284405e1f6ee83b08076725a490.tar.gz |
Correct evaluation so we return the lan interface too
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 71fca01..b10402a 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -280,7 +280,7 @@ function get_configured_interface_list($only_opt = false) { /* if list */ foreach($config['interfaces'] as $if => $ifdetail) { - if ($only_opt == true && $if == "wan" || $if == "lan") + if ($only_opt == true && ($if == "wan" || $if == "lan")) continue; if ($if == "wan" || $if == "lan" || isset($ifdetail['enable'])) $iflist[$if] = $if; |