Project

General

Profile

« Previous | Next » 

Revision 0ba17c67

Added by Ermal LUÇI over 14 years ago

Ooops add missing or.

View differences:

etc/inc/captiveportal.inc
608 608

  
609 609
	$rulenum = 65310;
610 610
	$ipcount = 0;
611
	$ips = "";
611 612
	foreach ($cpips as $cpip) {
612 613
		if($ipcount == 0) {
613 614
			$ips = "{$cpip} ";
......
616 617
		}
617 618
		$ipcount++;
618 619
	}
619
	$ips = "{ 255.255.255.255 {$ips} }";
620
	$ips = "{ 255.255.255.255 or {$ips} }";
620 621
	$cprules .= "add {$rulenum} set 1 pass ip from any to {$ips} in\n";
621 622
	$rulenum++;
622 623
	$cprules .= "add {$rulenum} set 1 pass ip from {$ips} to any out\n";

Also available in: Unified diff