diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-08-19 22:06:41 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-08-19 22:06:41 +0000 |
commit | 7d04082e098fab988c9091762cad7b455bfbd95b (patch) | |
tree | 129ae4b1f80d690a114b180e16a0a4f3e8238cc3 /usr/local/www/firewall_nat.php | |
parent | 05d15133a4fb9824382a8f8b1e481906ce984e53 (diff) | |
download | pfsense-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-x | usr/local/www/firewall_nat.php | 8 |
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); } + } } |