summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat_out.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-03-10 02:48:30 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-03-10 02:48:30 +0000
commitb639cf603e2441a8f860c521814cecb0595d2412 (patch)
tree77c379737c5552baeb7943f169c023368073e5e5 /usr/local/www/firewall_nat_out.php
parent4c00cc03c2fc9d508ac6750005c531918e429b05 (diff)
downloadpfsense-b639cf603e2441a8f860c521814cecb0595d2412.zip
pfsense-b639cf603e2441a8f860c521814cecb0595d2412.tar.gz
Woops, we want !
Diffstat (limited to 'usr/local/www/firewall_nat_out.php')
-rwxr-xr-xusr/local/www/firewall_nat_out.php2
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 a7826f1..a345ff6 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -83,7 +83,7 @@ if (isset($_POST['save'])) {
$config['nat']['ipsecpassthru']['enable'] = false;
if ($_POST['advancedoutbound'] == false)
$config['nat']['advancedoutbound']['enable'] = false;
- if($was_enabled and $_POST['advancedoutbound'] <> "") {
+ if(!$was_enabled and $_POST['advancedoutbound'] <> "") {
/*
* user has enabled advanced outbound nat -- lets automatically create entries
* for all of the interfaces to make life easier on the pip-o-chap
OpenPOWER on IntegriCloud