From d54195175a1987f3c0827af7a3f4e85fd746be93 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 4 Jul 2012 13:59:01 +0000 Subject: Make sure one_pass i selected when CP is active --- etc/inc/captiveportal.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') 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; } -- cgit v1.1