summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2012-11-18 00:34:49 +0100
committerPiBa-NL <pba_2k3@yahoo.com>2012-11-18 14:21:14 +0100
commit9250baafef8aaede5f7288fa8bf8a62fe586a4cb (patch)
treed4684f560b70aff306da23ba95f19a8a02e12fa5 /usr/local
parentb4227df690fb7a989ead9b3928ebaaaa34b495eb (diff)
downloadpfsense-9250baafef8aaede5f7288fa8bf8a62fe586a4cb.zip
pfsense-9250baafef8aaede5f7288fa8bf8a62fe586a4cb.tar.gz
show difference between outbound NAT and outbound NONAT.
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_nat_out.php14
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 1a6734f..d8a613c 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -414,12 +414,14 @@ include("head.inc");
</td>
<td class="listr" onClick="fr_toggle(<?=$nnats;?>)" id="frd<?=$nnats;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$nnats;?>';">
<?php
- if (!$natent['target'])
- echo "*";
- elseif ($natent['target'] == "other-subnet")
- echo $natent['targetip'] . '/' . $natent['targetip_subnet'];
- else
- echo $natent['target'];
+ if (isset($natent['nonat']))
+ echo '<I>NO NAT</I>';
+ elseif (!$natent['target'])
+ echo htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface']));
+ elseif ($natent['target'] == "other-subnet")
+ echo $natent['targetip'] . '/' . $natent['targetip_subnet'];
+ else
+ echo $natent['target'];
?>
</td>
<td class="listr" onClick="fr_toggle(<?=$nnats;?>)" id="frd<?=$nnats;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$nnats;?>';">
OpenPOWER on IntegriCloud