summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_advanced_firewall.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-22 16:43:47 +0000
committerErmal <eri@pfsense.org>2012-11-22 16:43:47 +0000
commit3a4b01476620d33b6d6200849231398f82e593c7 (patch)
treed4369e73df57bf65a21063de86af694fee376f43 /usr/local/www/system_advanced_firewall.php
parentaf13aad69fd8127bc505f36b7debc00aadc9320c (diff)
downloadpfsense-3a4b01476620d33b6d6200849231398f82e593c7.zip
pfsense-3a4b01476620d33b6d6200849231398f82e593c7.tar.gz
Resolves #2529. Load the ipfw module before any commands are executed on CP. Also move the filter_load_ipfw() to captiveportal.inc:captiveportal_load_modules() since no other place uses ipfw(4)
Diffstat (limited to 'usr/local/www/system_advanced_firewall.php')
-rw-r--r--usr/local/www/system_advanced_firewall.php7
1 files changed, 0 insertions, 7 deletions
diff --git a/usr/local/www/system_advanced_firewall.php b/usr/local/www/system_advanced_firewall.php
index 9fec26a..db0aaa4 100644
--- a/usr/local/www/system_advanced_firewall.php
+++ b/usr/local/www/system_advanced_firewall.php
@@ -173,13 +173,6 @@ 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;
$retval = filter_configure();
if(stristr($retval, "error") <> true)
OpenPOWER on IntegriCloud