summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-04-03 15:22:49 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-04-03 15:22:49 +0000
commit89cf7ebabbb04078450e65bbb3504244e0faa9ca (patch)
tree20cabb1ace91904205093c340da5ba5c6bbe7dfa /usr
parent0fe872968f45b46475bee8dbdb926aa2001445fb (diff)
downloadpfsense-89cf7ebabbb04078450e65bbb3504244e0faa9ca.zip
pfsense-89cf7ebabbb04078450e65bbb3504244e0faa9ca.tar.gz
MFC 11083
Display current IP address for rdr selections that use "interface address"
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/firewall_nat.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index 7b94585..e1b4ba3 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -197,6 +197,8 @@ include("head.inc");
<?=$natent['target'];?>
<?php if ($natent['external-address'])
echo "<br>(ext.: " . $natent['external-address'] . ")";
+ else
+ echo "<br>(ext.: " . find_interface_ip(convert_friendly_interface_to_real_interface_name($natent['interface'])) . ")";
?>
</td>
<td class="listr" onClick="fr_toggle(<?=$nnats;?>)" id="frd<?=$nnats;?>" ondblclick="document.location='firewall_nat_edit.php?id=<?=$nnats;?>';">
OpenPOWER on IntegriCloud