summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-12-14 16:59:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-12-14 16:59:34 +0000
commit12f974a410c84f73b63817bea65359c76d0cf24d (patch)
treef049bcc0dbec4aa4626a9563a0b94dca643fd04d /usr/local
parentba58079815ae7a1f90330a3b91971b628f7daeb8 (diff)
downloadpfsense-12f974a410c84f73b63817bea65359c76d0cf24d.zip
pfsense-12f974a410c84f73b63817bea65359c76d0cf24d.tar.gz
Remove old reboot required code
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/firewall_nat.php11
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
OpenPOWER on IntegriCloud