summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-23 13:59:41 -0400
committerjim-p <jimp@pfsense.org>2014-05-23 14:00:07 -0400
commit67eec08539c8deeca86c0c450a9c8a9c709e5b21 (patch)
tree8830c292a6c976c579143d4eb1e8ca635f991e2a /usr/local/www/firewall_nat_out.php
parentb7988b29d0626740ccd5b11335e8665aa59b2421 (diff)
downloadpfsense-67eec08539c8deeca86c0c450a9c8a9c709e5b21.zip
pfsense-67eec08539c8deeca86c0c450a9c8a9c709e5b21.tar.gz
Add (self) for an outbound NAT source as well
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rw-r--r--usr/local/www/firewall_nat_out.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php
index 1d993b8..5f4c66b 100644
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -378,6 +378,7 @@ if (is_subsystem_dirty('natconf'))
&nbsp;
</td>
<td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';">
+ <?PHP $natent['source']['network'] = ($natent['source']['network'] == "(self)") ? "This Firewall" : $natent['source']['network']; ?>
<?php echo $textss . $alias_src_span_begin . $natent['source']['network'] . $alias_src_span_end . $textse;?>
</td>
<td class="listr" onclick="fr_toggle(<?=$i;?>)" id="frd<?=$i;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$i;?>';">
OpenPOWER on IntegriCloud