diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-06-24 19:43:53 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-06-24 19:43:53 +0000 |
commit | e034e424819c1e02bedd934771112da0e1fe755b (patch) | |
tree | 5bc22ccaca2205637a0a48cbf733359c3d809179 /usr/local/www/firewall_nat_out.php | |
parent | 3decfc1115a89b62f6e154ed8094555e57331fc4 (diff) | |
download | pfsense-e034e424819c1e02bedd934771112da0e1fe755b.zip pfsense-e034e424819c1e02bedd934771112da0e1fe755b.tar.gz |
* Do not write_config() twice
* Alert user that we have created default items for them
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 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); |