From 7fb1032da3a888d8bfc0f6044518be020d34f9f0 Mon Sep 17 00:00:00 2001 From: Seth Mos Date: Thu, 21 Dec 2006 17:12:34 +0000 Subject: Add polish. If the webgui does not use http, do not complain about the port for transparent mode. --- packages/squid/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3