diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-12-14 16:59:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-12-14 16:59:34 +0000 |
commit | 12f974a410c84f73b63817bea65359c76d0cf24d (patch) | |
tree | f049bcc0dbec4aa4626a9563a0b94dca643fd04d /usr/local | |
parent | ba58079815ae7a1f90330a3b91971b628f7daeb8 (diff) | |
download | pfsense-12f974a410c84f73b63817bea65359c76d0cf24d.zip pfsense-12f974a410c84f73b63817bea65359c76d0cf24d.tar.gz |
Remove old reboot required code
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_nat.php | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php index 899add4..8b056de 100755 --- a/usr/local/www/firewall_nat.php +++ b/usr/local/www/firewall_nat.php @@ -47,16 +47,13 @@ if ($_POST) { if ($_POST['apply']) { write_config(); - - filter_configure(); $retval = 0; + + config_lock(); + $retval |= filter_configure(); + config_unlock(); - if (!file_exists($d_sysrebootreqd_path)) { - config_lock(); - $retval |= filter_configure(); - config_unlock(); - } if(stristr($retval, "error") <> true) $savemsg = get_std_save_message($retval); else |