diff options
author | jim-p <jimp@pfsense.org> | 2016-03-08 13:24:59 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-03-08 13:24:59 -0500 |
commit | 719635b2a7266af1d07551375fb21bb8c08bd463 (patch) | |
tree | 327b66f5fdc2748f8a645487029bcaa400526949 | |
parent | b4e955d94fa063efda750cdb6adf9c73f7051ef1 (diff) | |
download | pfsense-719635b2a7266af1d07551375fb21bb8c08bd463.zip pfsense-719635b2a7266af1d07551375fb21bb8c08bd463.tar.gz |
Give a visual indication when a port forward has the negation option active (no rdr). Ticket #5965
-rw-r--r-- | src/usr/local/www/firewall_nat.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_nat.php b/src/usr/local/www/firewall_nat.php index bc82698..8b15ffb 100644 --- a/src/usr/local/www/firewall_nat.php +++ b/src/usr/local/www/firewall_nat.php @@ -292,6 +292,9 @@ foreach ($a_nat as $natent): <td> <a href="?act=toggle&id=<?=$i?>"> <i class="fa <?= ($iconfn == "pass") ? "fa-check":"fa-times"?>" title="<?=gettext("click to toggle enabled/disabled status")?>"></i> +<?php if (isset($natent['nordr'])) { ?> + <i class="fa fa-hand-stop-o text-danger" title="<?=gettext("Negated: This rule excludes NAT from a later rule")?>"></i> +<?php } ?> </a> </td> <td> |