mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Ticket #1036 - Correctly display LAN interface on port forward screen
This commit is contained in:
parent
0260caecde
commit
7a6c350f05
@ -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']);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user