diff options
author | Chris Buechler <cmb@pfsense.org> | 2012-11-20 23:18:11 -0800 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2012-11-20 23:18:11 -0800 |
commit | 46f10475e42ef39d9904427a1e4f999f4dd85421 (patch) | |
tree | 6ad6e7120bee051a12e86c0016287e42d8381a2b /usr | |
parent | 7d3be92f49b0634edb1aebe9c597c1f7cfdb6431 (diff) | |
parent | 2909d891f6a01c8d605ffe99e1a55a4c11615164 (diff) | |
download | pfsense-46f10475e42ef39d9904427a1e4f999f4dd85421.zip pfsense-46f10475e42ef39d9904427a1e4f999f4dd85421.tar.gz |
Merge pull request #260 from PiBa-NL/outbound_nonat
show difference between outbound NAT and outbound NONAT.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 1a6734f..7485965 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -414,12 +414,14 @@ 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 - if (!$natent['target']) - echo "*"; - elseif ($natent['target'] == "other-subnet") - echo $natent['targetip'] . '/' . $natent['targetip_subnet']; - else - echo $natent['target']; + if (isset($natent['nonat'])) + echo '<I>NO NAT</I>'; + elseif (!$natent['target']) + echo htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface'])) . " address"; + elseif ($natent['target'] == "other-subnet") + echo $natent['targetip'] . '/' . $natent['targetip_subnet']; + else + echo $natent['target']; ?> </td> <td class="listr" onClick="fr_toggle(<?=$nnats;?>)" id="frd<?=$nnats;?>" ondblclick="document.location='firewall_nat_out_edit.php?id=<?=$nnats;?>';"> |