diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-07-04 18:19:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-07-04 18:19:07 +0000 |
commit | 7a6c350f05dddbe00f28ea1c94dbbedd9487ffe6 (patch) | |
tree | 03bb9af59514d8bb7dfc7d7bdb424bdf422dfa31 /usr/local/www | |
parent | 0260caecde22ea6491b504e93ee442a881c6a263 (diff) | |
download | pfsense-7a6c350f05dddbe00f28ea1c94dbbedd9487ffe6.zip pfsense-7a6c350f05dddbe00f28ea1c94dbbedd9487ffe6.tar.gz |
Ticket #1036 - Correctly display LAN interface on port forward screen
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index 6d43f11..e745bbc 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -51,7 +51,7 @@ if ($_POST) { write_config(); $retval = 0; - + config_lock(); $retval |= filter_configure(); config_unlock(); @@ -183,7 +183,7 @@ include("head.inc"); <?php if (!$natent['interface'] || ($natent['interface'] == "wan")) echo "WAN"; - else if($natent['interface'] == "LAN") + else if(strtolower($natent['interface']) == "lan") echo "LAN"; else echo strtoupper($config['interfaces'][$natent['interface']]['descr']); |