summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-06-24 19:43:53 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-06-24 19:43:53 +0000
commite034e424819c1e02bedd934771112da0e1fe755b (patch)
tree5bc22ccaca2205637a0a48cbf733359c3d809179
parent3decfc1115a89b62f6e154ed8094555e57331fc4 (diff)
downloadpfsense-e034e424819c1e02bedd934771112da0e1fe755b.zip
pfsense-e034e424819c1e02bedd934771112da0e1fe755b.tar.gz
* Do not write_config() twice
* Alert user that we have created default items for them
-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 39cc4c3..1075351 100755
--- a/usr/local/www/firewall_nat_out.php
+++ b/usr/local/www/firewall_nat_out.php
@@ -107,7 +107,7 @@ if (isset($_POST['save'])) {
$natent['natport'] = "";
$a_out[] = $natent;
}
- write_config();
+ $savemsg = "Default rules for each interface have been created.";
}
write_config();
touch($d_natconfdirty_path);
OpenPOWER on IntegriCloud