diff options
author | Ermal <eri@pfsense.org> | 2010-11-27 14:47:12 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-27 14:47:49 +0000 |
commit | 0ba17c67a0d79b8e87884669c8b456f7515a884e (patch) | |
tree | e987cab471685157ebc17a766ba1e24dddf14734 /etc/inc | |
parent | b9bc333b4417c6a1ae8c58fb8eee4bdb7e9071b0 (diff) | |
download | pfsense-0ba17c67a0d79b8e87884669c8b456f7515a884e.zip pfsense-0ba17c67a0d79b8e87884669c8b456f7515a884e.tar.gz |
Ooops add missing or.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/captiveportal.inc | 3 |
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"; |