summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-01-23 01:07:02 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-01-23 01:07:02 +0000
commitd0b33b21dcdb2401f31e62a100ed38b973412330 (patch)
treea37c893ee21941e6359c3c38565f1dbb9d1899d8
parentbb818b3fda27f570da7e971af75a61f32e3f06c0 (diff)
downloadpfsense-d0b33b21dcdb2401f31e62a100ed38b973412330.zip
pfsense-d0b33b21dcdb2401f31e62a100ed38b973412330.tar.gz
Regenerate pf rules after save.
-rwxr-xr-xusr/local/www/system_advanced.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced.php b/usr/local/www/system_advanced.php
index 1fb8e06..00c9d55 100755
--- a/usr/local/www/system_advanced.php
+++ b/usr/local/www/system_advanced.php
@@ -128,6 +128,12 @@ if ($_POST) {
config_unlock();
}
$savemsg = get_std_save_message($retval);
+
+ /* Setup pf rules since the user may have changed the optimization value */
+ config_lock();
+ $retval = filter_configure();
+ config_unlock();
+
}
}
?>
OpenPOWER on IntegriCloud