summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-04 13:59:01 +0000
committerErmal <eri@pfsense.org>2012-07-04 13:59:01 +0000
commitd54195175a1987f3c0827af7a3f4e85fd746be93 (patch)
treefc49ec1ba49faa0e4bef0fc31c1a6b920933f0a1 /etc
parente42b6dd75589309ad4f7844aeea29318ce052799 (diff)
downloadpfsense-d54195175a1987f3c0827af7a3f4e85fd746be93.zip
pfsense-d54195175a1987f3c0827af7a3f4e85fd746be93.tar.gz
Make sure one_pass i selected when CP is active
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index a0f2980..b48b64c 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -610,6 +610,8 @@ EOD;
/* activate ipfw(4) so CP can work */
mwexec("/sbin/sysctl net.link.ether.ipfw=1");
+ /* Make sure not re-entrancy is allowed in ipfw(4) */
+ mwexec("/sbin/sysctl net.inet.ip.fw.one_pass=1");
return $cprules;
}
OpenPOWER on IntegriCloud