summaryrefslogtreecommitdiffstats
path: root/etc/inc/captiveportal.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-05-20 15:24:06 +0000
committerErmal Luçi <eri@pfsense.org>2008-05-20 15:24:06 +0000
commitaadf3addf5603fb3056968b466f7e9d99cfe796b (patch)
tree00cb524cf504a456a8e72ae159f72c7b4bb7d374 /etc/inc/captiveportal.inc
parent5be59a88855b698ffecc5d0b10a5dbf24d50cc5c (diff)
downloadpfsense-aadf3addf5603fb3056968b466f7e9d99cfe796b.zip
pfsense-aadf3addf5603fb3056968b466f7e9d99cfe796b.tar.gz
Leave ipfw hook active on outbound direction it may break accounting.
More through testing is needed fro this.
Diffstat (limited to 'etc/inc/captiveportal.inc')
-rw-r--r--etc/inc/captiveportal.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index b8f8887..30bcf4f 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -72,7 +72,9 @@ function captiveportal_configure() {
* Disable the ipfw outer hook it has not value to us.
*/
mwexec("/sbin/sysctl net.inet.ip.pfil.inbound=\"ipfw,pf\"");
- mwexec("/sbin/sysctl net.inet.ip.pfil.outbound=\"pf\"");
+
+ /* TODO: Should check that this does not break accounting. */
+ //mwexec("/sbin/sysctl net.inet.ip.pfil.outbound=\"pf\"");
/* stop accounting on all clients */
captiveportal_radius_stop_all();
OpenPOWER on IntegriCloud