summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@cmb-macbook-pro.homeunix.net>2009-11-07 19:55:57 -0500
committerChris Buechler <cmb@cmb-macbook-pro.homeunix.net>2009-11-07 19:55:57 -0500
commit537dff78f95c49a335dadfb063844dd399f3298f (patch)
tree9273d5ec4993d326e1776b436afb56bead8f6eb7 /usr/local/www/firewall_nat.php
parentf891bf66e256893c9096c815a4472ccb3e43d2db (diff)
downloadpfsense-537dff78f95c49a335dadfb063844dd399f3298f.zip
pfsense-537dff78f95c49a335dadfb063844dd399f3298f.tar.gz
show pass icon for rdr pass entries, fix editing of pass entries
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index d8210a8..4d4ba7d 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -229,6 +229,9 @@ echo "<script type=\"text/javascript\" language=\"javascript\" src=\"/javascript
<?php if(isset($natent['associated-filter-rule-id']) && $natent['associated-filter-rule-id']>0): ?>
<img src="./themes/<?= $g['theme']; ?>/images/icons/icon_chain.png" width="17" height="17" title="Firewall rule ID <?=htmlspecialchars($natent['associated-filter-rule-id']); ?> is managed with this rule" border="0">
<?php endif; ?>
+ <?php if($natent['associated-filter-rule-id'] == "pass"): ?>
+ <img src="./themes/<?= $g['theme']; ?>/images/icons/icon_pass.gif" title="All traffic matching this NAT entry is passed" border="0">
+ <?php endif; ?>
</td>
<td class="listlr" onClick="fr_toggle(<?=$nnats;?>)" id="frd<?=$nnats;?>" ondblclick="document.location='firewall_nat_edit.php?id=<?=$nnats;?>';">
<?php
OpenPOWER on IntegriCloud