diff options
-rw-r--r-- | packages/squid/squid.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid/squid.inc b/packages/squid/squid.inc index 77473e65..adb55630 100644 --- a/packages/squid/squid.inc +++ b/packages/squid/squid.inc @@ -217,7 +217,7 @@ function squid_validate_general($post, $input_errors) { } $webgui_port = $config['system']['webgui']['port']; - if($config['system']['webgui']['port'] == "") { + if(($config['system']['webgui']['port'] == "") && ($config['system']['webgui']['protocol'] == "http")) { $webgui_port = 80; } |