diff options
author | Ermal <eri@pfsense.org> | 2010-04-16 18:41:25 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-04-16 18:41:25 +0000 |
commit | f691243dac0bb4c4a322154ef839cac0d0c5db4e (patch) | |
tree | c19b7f27fd6e228c9d69a5bcab51fe01710fcb11 | |
parent | 38b357bdb50b820d63646d49849b41b4908a744d (diff) | |
download | pfsense-f691243dac0bb4c4a322154ef839cac0d0c5db4e.zip pfsense-f691243dac0bb4c4a322154ef839cac0d0c5db4e.tar.gz |
Do not use the presence of lan as an indicator of having only one interface. Actually deduce that from the count of interfaces. It is perfectly legal on 2.0 to not have a lan interface and only opt/wan ones.
-rw-r--r-- | usr/local/www/system_advanced_firewall.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index d9db0fb..06e2ff5 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -287,7 +287,7 @@ function update_description(itemnum) { <tr> <td colspan="2" class="list" height="12"> </td> </tr> - <?php if($config['interfaces']['lan']): ?> + <?php if(count($config['interfaces']) > 1): ?> <tr> <td colspan="2" valign="top" class="listtopic">Network Address Translation</td> </tr> |