summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-05-05 16:59:00 +0000
committerErmal <eri@pfsense.org>2010-05-05 16:59:00 +0000
commit83e16ead41830514e02055d6b0724bc44b2a6022 (patch)
tree9c670fbe83b27b301ec941c990841956e7664070 /etc
parent9faa6c3c3fa6d3079581a5904855da60f32e961a (diff)
downloadpfsense-83e16ead41830514e02055d6b0724bc44b2a6022.zip
pfsense-83e16ead41830514e02055d6b0724bc44b2a6022.tar.gz
The gui defaults to https in 2.0 correct it to make sure it is not stopped by CP on the CP interface[s].
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/captiveportal.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc
index 94ca06e..1a429dc 100644
--- a/etc/inc/captiveportal.inc
+++ b/etc/inc/captiveportal.inc
@@ -405,10 +405,10 @@ EOD;
}
if (!empty($config['system']['webgui']['port']))
$port = $config['system']['webgui']['port'];
- else if ($config['system']['webgui']['proto'] == "https")
- $port = 443;
- else
+ else if ($config['system']['webgui']['proto'] == "http")
$port = 80;
+ else
+ $port = 443;
$rulenum++;
$cprules .= "add {$rulenum} set 1 pass tcp from any to {$ips} {$port} in \n";
$rulenum++;
OpenPOWER on IntegriCloud