From 9250baafef8aaede5f7288fa8bf8a62fe586a4cb Mon Sep 17 00:00:00 2001 From: PiBa-NL Date: Sun, 18 Nov 2012 00:34:49 +0100 Subject: show difference between outbound NAT and outbound NONAT. --- usr/local/www/firewall_nat_out.php | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'usr') diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 1a6734f..d8a613c 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -414,12 +414,14 @@ include("head.inc"); NO NAT'; + elseif (!$natent['target']) + echo htmlspecialchars(convert_friendly_interface_to_friendly_descr($natent['interface'])); + elseif ($natent['target'] == "other-subnet") + echo $natent['targetip'] . '/' . $natent['targetip_subnet']; + else + echo $natent['target']; ?> -- cgit v1.1