diff options
Diffstat (limited to 'usr')
-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": |