summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out_edit.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-05-21 03:37:35 +0000
committerBill Marquette <billm@pfsense.org>2005-05-21 03:37:35 +0000
commit013095991cfffe3a3e5caa54041f0203a2fd3983 (patch)
tree058666c09fc6cf5ca72a52fa57fb3cc5aaab976b /usr/local/www/firewall_nat_out_edit.php
parent1886ba6979fa97441ee3739f68f930e83297b787 (diff)
downloadpfsense-013095991cfffe3a3e5caa54041f0203a2fd3983.zip
pfsense-013095991cfffe3a3e5caa54041f0203a2fd3983.tar.gz
copy/paste buglet...a_out, not a_nat
Diffstat (limited to 'usr/local/www/firewall_nat_out_edit.php')
-rwxr-xr-xusr/local/www/firewall_nat_out_edit.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_nat_out_edit.php b/usr/local/www/firewall_nat_out_edit.php
index 807efab..7c68eed 100755
--- a/usr/local/www/firewall_nat_out_edit.php
+++ b/usr/local/www/firewall_nat_out_edit.php
@@ -169,13 +169,13 @@ if ($_POST) {
if (isset($_POST['destination_not']) && $ext != "any")
$natent['destination']['not'] = true;
- if (isset($id) && $a_nat[$id])
- $a_nat[$id] = $natent;
+ if (isset($id) && $a_out[$id])
+ $a_out[$id] = $natent;
else {
if (is_numeric($after))
- array_splice($a_nat, $after+1, 0, array($natent));
+ array_splice($a_out, $after+1, 0, array($natent));
else
- $a_nat[] = $natent;
+ $a_out[] = $natent;
}
touch($d_natconfdirty_path);
OpenPOWER on IntegriCloud