summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-27 14:47:12 +0000
committerErmal <eri@pfsense.org>2010-11-27 14:47:49 +0000
commit0ba17c67a0d79b8e87884669c8b456f7515a884e (patch)
treee987cab471685157ebc17a766ba1e24dddf14734 /etc/inc
parentb9bc333b4417c6a1ae8c58fb8eee4bdb7e9071b0 (diff)
downloadpfsense-0ba17c67a0d79b8e87884669c8b456f7515a884e.zip
pfsense-0ba17c67a0d79b8e87884669c8b456f7515a884e.tar.gz
Ooops add missing or.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/captiveportal.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 63d3ce9..e36a626 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -608,6 +608,7 @@ EOD;
$rulenum = 65310;
$ipcount = 0;
+ $ips = "";
foreach ($cpips as $cpip) {
if($ipcount == 0) {
$ips = "{$cpip} ";
@@ -616,7 +617,7 @@ EOD;
}
$ipcount++;
}
- $ips = "{ 255.255.255.255 {$ips} }";
+ $ips = "{ 255.255.255.255 or {$ips} }";
$cprules .= "add {$rulenum} set 1 pass ip from any to {$ips} in\n";
$rulenum++;
$cprules .= "add {$rulenum} set 1 pass ip from {$ips} to any out\n";
OpenPOWER on IntegriCloud