summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2010-12-01 11:20:14 -0500
committerjim-p <jimp@pfsense.org>2010-12-01 11:20:14 -0500
commit893f47847b22a18cfaa1fc6185d001ec111597d7 (patch)
tree8242ed94a69400864bb57b4a279bcf2be83b65dd
parent6c9e8647f418fbbb854fbc0159a902fc43ca1f88 (diff)
downloadpfsense-893f47847b22a18cfaa1fc6185d001ec111597d7.zip
pfsense-893f47847b22a18cfaa1fc6185d001ec111597d7.tar.gz
If the protocol is not set in the config, it defaults to https, so assume port 443 since the port isn't set either.
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 06f3773..b513df8 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2053,7 +2053,7 @@ EOD;
if(!$config['system']['webgui']['port']) {
if($config['system']['webgui']['protocol'] == "http")
$webConfiguratorlockoutport = "80";
- elseif($config['system']['webgui']['protocol'] == "https")
+ else
$webConfiguratorlockoutport = "443";
} else {
$webConfiguratorlockoutport = $config['system']['webgui']['port'];
OpenPOWER on IntegriCloud