Project

General

Profile

« Previous | Next » 

Revision d5419517

Added by Ermal LUÇI about 13 years ago

Make sure one_pass i selected when CP is active

View differences:

etc/inc/captiveportal.inc
610 610

  
611 611
	/* activate ipfw(4) so CP can work */
612 612
	mwexec("/sbin/sysctl net.link.ether.ipfw=1");
613
	/* Make sure not re-entrancy is allowed in ipfw(4) */
614
	mwexec("/sbin/sysctl net.inet.ip.fw.one_pass=1");
613 615

  
614 616
	return $cprules;
615 617
}

Also available in: Unified diff