From d0b33b21dcdb2401f31e62a100ed38b973412330 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 23 Jan 2005 01:07:02 +0000 Subject: Regenerate pf rules after save. --- usr/local/www/system_advanced.php | 6 ++++++ 1 file changed, 6 insertions(+) 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(); + } } ?> -- cgit v1.1