From e034e424819c1e02bedd934771112da0e1fe755b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 24 Jun 2005 19:43:53 +0000 Subject: * Do not write_config() twice * Alert user that we have created default items for them --- usr/local/www/firewall_nat_out.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1