diff options
author | jim-p <jimp@pfsense.org> | 2010-12-01 11:20:14 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-12-01 11:20:14 -0500 |
commit | 893f47847b22a18cfaa1fc6185d001ec111597d7 (patch) | |
tree | 8242ed94a69400864bb57b4a279bcf2be83b65dd /etc/inc | |
parent | 6c9e8647f418fbbb854fbc0159a902fc43ca1f88 (diff) | |
download | pfsense-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.
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
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']; |