summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php4
1 files changed, 2 insertions, 2 deletions
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'];
OpenPOWER on IntegriCloud