From 4d177fb5c31cd4e5c8ee5e7e518d9d038f3ff8a8 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 25 Feb 2015 20:54:27 +0000 Subject: [PATCH] fix for https://github.com/opnsense/core/issues/41 --- src/www/firewall_nat.php | 44 ++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) diff --git a/src/www/firewall_nat.php b/src/www/firewall_nat.php index 04268a33f..8a519fad3 100644 --- a/src/www/firewall_nat.php +++ b/src/www/firewall_nat.php @@ -243,6 +243,8 @@ $main_buttons = array( $span_end = ""; $alias_popup = rule_popup($natent['source']['address'], pprint_port($natent['source']['port']), $natent['destination']['address'], pprint_port($natent['destination']['port'])); + $alias_popup = rule_popup($natent['source']['address'], pprint_port($natent['source']['port']), $natent['destination']['address'], pprint_port($natent['destination']['port'])); + $alias_src_span_begin = $alias_popup["src"]; $alias_src_port_span_begin = $alias_popup["srcport"]; @@ -300,21 +302,47 @@ $main_buttons = array( - + + + - + + - + + - + + - + + - +