diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-08 15:44:43 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-08 15:44:43 +0000 |
commit | fb3590e537c5f4dfb9dbc0f912dc5188504872a2 (patch) | |
tree | 843ca88886c9b4ebc8ff29267d437a5609106f65 /usr/local/www/firewall_nat_out.php | |
parent | 989e5d62da2f7f6dad2bb55d20d2558cfb3fa34a (diff) | |
download | pfsense-fb3590e537c5f4dfb9dbc0f912dc5188504872a2.zip pfsense-fb3590e537c5f4dfb9dbc0f912dc5188504872a2.tar.gz |
Revert "Correctly unset rules when switching disabling AON."
This reverts commit 989e5d62da2f7f6dad2bb55d20d2558cfb3fa34a.
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-x | usr/local/www/firewall_nat_out.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_out.php b/usr/local/www/firewall_nat_out.php index 1e1293e..55a8469 100755 --- a/usr/local/www/firewall_nat_out.php +++ b/usr/local/www/firewall_nat_out.php @@ -79,7 +79,7 @@ if (isset($_POST['save']) && $_POST['save'] == "Save") { case "ipsecpassthru": $config['nat']['ipsecpassthru']['enable'] = true; unset($config['nat']['advancedoutbound']['enable']); - if(count($config['nat']['advancedoutbound']['rule']) > 0) + if(count($config['nat']['advancedoutbound']['rule']) == 0) unset($config['nat']['advancedoutbound']['rule']); break; case "advancedoutboundnat": |