summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-01-19 13:05:18 -0500
committerjim-p <jimp@pfsense.org>2011-01-19 13:07:19 -0500
commit1c4edc3c320a7750de670c1e7aa97cc5c622c9ef (patch)
tree9bfcd11077ef1fa217f50ab582aa6c481221aa3a
parent911a262f1821ec6e0148d240d7e9574489a9baac (diff)
downloadpfsense-1c4edc3c320a7750de670c1e7aa97cc5c622c9ef.zip
pfsense-1c4edc3c320a7750de670c1e7aa97cc5c622c9ef.tar.gz
If an outbound nat rule has a protocol specified, show it in the summary view.
-rwxr-xr-xusr/local/www/firewall_nat_out.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index e27d55e..85c4550 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -363,6 +363,7 @@ 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
+ echo ($natent['protocol']) ? $natent['protocol'] . '/' : "" ;
if (!$natent['sourceport'])
echo "*";
else
@@ -382,6 +383,7 @@ 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
+ echo ($natent['protocol']) ? $natent['protocol'] . '/' : "" ;
if (!$natent['dstport'])
echo "*";
else
OpenPOWER on IntegriCloud