diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-09 17:47:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-09 17:47:27 +0000 |
commit | 2e56710cc4d4af96740f4c872f9341894226c697 (patch) | |
tree | 97c06728e9c76ff791755cbd96f1ffd558f1950b /usr | |
parent | ec11a1adce38722253bd1e0487a246d6760d1117 (diff) | |
download | pfsense-2e56710cc4d4af96740f4c872f9341894226c697.zip pfsense-2e56710cc4d4af96740f4c872f9341894226c697.tar.gz |
Ticket #467 destination network on firewall_nat_out_edit.php incorrectly parsed.
Submitted-by-someone-who-refuses-to-accept-cvs-account: databeestje
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_nat_out_edit.php | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 85a7bae..9b2ed16 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -279,7 +279,7 @@ include("head.inc"); else { if (isset($natent['destination']['not'])) echo "! "; - echo $natent['destination']['network']; + echo $natent['destination']['address']; } ?> </td> diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php index 164297d..9fb5ee8 100755 --- a/usr/local/www/firewall_nat_out_edit.php +++ b/usr/local/www/firewall_nat_out_edit.php @@ -159,7 +159,7 @@ if ($_POST) { if (($natent['interface'] == $_POST['interface']) && ($natent['source']['network'] == $osn)) { if (isset($natent['destination']['not']) == isset($_POST['destination_not'])) { if ((isset($natent['destination']['any']) && ($ext == "any")) || - ($natent['destination']['network'] == $ext)) { + ($natent['destination']['address'] == $ext)) { $input_errors[] = "There is already an outbound NAT rule with the specified settings."; break; } @@ -178,7 +178,7 @@ if ($_POST) { if ($ext == "any") $natent['destination']['any'] = true; else - $natent['destination']['network'] = $ext; + $natent['destination']['address'] = $ext; $natent['natport'] = $_POST['natport']; |