diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-11-11 22:43:01 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-11-11 22:43:01 +0000 |
commit | e4b6b97aa244ff4c3f4a651f12827ffe57754cd3 (patch) | |
tree | 2bb358b36ce4ba1898fa0da964184aa57e808244 /etc/inc/captiveportal.inc | |
parent | 7922db8a40a166c8c57bdfe13769e942056de934 (diff) | |
download | pfsense-e4b6b97aa244ff4c3f4a651f12827ffe57754cd3.zip pfsense-e4b6b97aa244ff4c3f4a651f12827ffe57754cd3.tar.gz |
Refactor ipfw loading.
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index 36dedd6..379835d 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -64,20 +64,7 @@ function captiveportal_configure() { $cprules = captiveportal_rules_generate(); /* make sure ipfw is loaded */ - mwexec("/sbin/kldload ipfw"); - - /* - * make sure ipfw is the first hook to make CP work correctly on - * Multi-WAN. - * Disable the ipfw outer hook it has not value to us. - */ - mwexec("/sbin/sysctl net.inet.ip.pfil.inbound=\"ipfw,pf\""); - - /* - * TODO: Check if disabling ipfw hook - * does not break accounting. - */ - mwexec("/sbin/sysctl net.inet.ip.pfil.outbound=\"ipfw,pf\""); + filter_load_ipfw(); /* stop accounting on all clients */ captiveportal_radius_stop_all(); |