summaryrefslogtreecommitdiffstats
path: root/usr/local/www/firewall_nat.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-08-19 22:06:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-08-19 22:06:41 +0000
commit7d04082e098fab988c9091762cad7b455bfbd95b (patch)
tree129ae4b1f80d690a114b180e16a0a4f3e8238cc3 /usr/local/www/firewall_nat.php
parent05d15133a4fb9824382a8f8b1e481906ce984e53 (diff)
downloadpfsense-7d04082e098fab988c9091762cad7b455bfbd95b.zip
pfsense-7d04082e098fab988c9091762cad7b455bfbd95b.tar.gz
Clear CACHE and force a reload so that the ftp helpers are spawned correctly upon reply.
Diffstat (limited to 'usr/local/www/firewall_nat.php')
-rwxr-xr-xusr/local/www/firewall_nat.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_nat.php b/usr/local/www/firewall_nat.php
index e745bbc..e3f4e10 100755
--- a/usr/local/www/firewall_nat.php
+++ b/usr/local/www/firewall_nat.php
@@ -52,21 +52,21 @@ if ($_POST) {
$retval = 0;
- config_lock();
- $retval |= filter_configure();
- config_unlock();
-
if(stristr($retval, "error") <> true)
$savemsg = get_std_save_message($retval);
else
$savemsg = $retval;
+ unlink_if_exists("/tmp/config.cache");
+ $retval |= filter_configure_sync();
+
if ($retval == 0) {
if (file_exists($d_natconfdirty_path))
unlink($d_natconfdirty_path);
if (file_exists($d_filterconfdirty_path))
unlink($d_filterconfdirty_path);
}
+
}
}
OpenPOWER on IntegriCloud