summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbcyrill <cyrill@bannwart.info>2012-12-15 15:17:59 +0100
committerbcyrill <cyrill@bannwart.info>2012-12-15 15:17:59 +0100
commitd61cbd50da1d139f20a1fc5cfd7e0e77317b2874 (patch)
tree5a785e273b5a669bf4a614e905535e71b6730cec
parent4068dcac93e835ad72b67b0d149d1c41aaed4caa (diff)
downloadpfsense-d61cbd50da1d139f20a1fc5cfd7e0e77317b2874.zip
pfsense-d61cbd50da1d139f20a1fc5cfd7e0e77317b2874.tar.gz
Fix cp variable
-rw-r--r--etc/inc/captiveportal.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 7b8154c..6e0c266 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -559,7 +559,7 @@ EOD;
$config['captiveportal'][$cpzone]['listenporthttp'] :
$config['captiveportal'][$cpzone]['zoneid'];
- if (isset($cpcfg['httpslogin'])) {
+ if (isset($config['captiveportal'][$cpzone]['httpslogin'])) {
$listenporthttps = $listenporthttp + 1;
$cprules .= "add 65531 fwd 127.0.0.1,{$listenporthttps} tcp from any to any dst-port 443 in\n";
}
OpenPOWER on IntegriCloud