mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
copy/paste buglet...a_out, not a_nat
This commit is contained in:
parent
1886ba6979
commit
013095991c
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user