mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Only unload ipfw module if traffic shaper is disabled AND captive portal is disabled.
This commit is contained in:
parent
b76bcce6a3
commit
01fafdd564
@ -144,7 +144,8 @@ function filter_configure() {
|
||||
mwexec("/bin/mv /tmp/ipfw.rules /tmp/ipfw.rules_old >/dev/null 2>&1");
|
||||
mwexec("/sbin/ipfw delete 25 >/dev/null 2>&1\n");
|
||||
} else {
|
||||
mwexec("/sbin/kldunload ipfw.ko");
|
||||
if(!isset($config['captiveportal']['enable'])
|
||||
mwexec("/sbin/kldunload ipfw.ko");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user