diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-05-08 10:09:50 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-05-08 10:09:50 +0000 |
commit | bd448e7ff9e17e7f2cb6572fbaa58f7d9e5c9407 (patch) | |
tree | 66cf70a60425ab824d44629ed6cf8dbc6787851d | |
parent | 3e2bd5deb8ad20d74047bef7482b110b5d472fb5 (diff) | |
download | pfsense-bd448e7ff9e17e7f2cb6572fbaa58f7d9e5c9407.zip pfsense-bd448e7ff9e17e7f2cb6572fbaa58f7d9e5c9407.tar.gz |
From yesterday moving of ipfw loading to only captive portal a regression was noticed on ipfw states sizeing.
Fix this regression by changing this states when they are changed on the system advanced settings page.
Reported by: cmb@
-rw-r--r-- | usr/local/www/system_advanced_firewall.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php index 370b92e..57d5af4 100644 --- a/usr/local/www/system_advanced_firewall.php +++ b/usr/local/www/system_advanced_firewall.php @@ -118,6 +118,13 @@ if ($_POST) { write_config(); + /* + * XXX: This is a kludge here but its the better place than on every filter reload. + * NOTE: This is only for setting the ipfw state limits. + */ + if ($_POST['maximumstates'] && is_numeric($_POST['maximumstates']) && is_module_loaded("ipfw.ko")) + filter_load_ipfw(); + $retval = 0; config_lock(); $retval = filter_configure(); |