aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid/squid.inc
diff options
context:
space:
mode:
authorSeth Mos <seth.mos@xs4all.nl>2006-12-21 17:12:34 +0000
committerSeth Mos <seth.mos@xs4all.nl>2006-12-21 17:12:34 +0000
commit7fb1032da3a888d8bfc0f6044518be020d34f9f0 (patch)
treeb869e56016fd2ef7a4f821fddbf013e6d2d7928d /packages/squid/squid.inc
parentf0b33ddecf33602198e5ae44b0a5ee07060a689c (diff)
downloadpfsense-packages-7fb1032da3a888d8bfc0f6044518be020d34f9f0.tar.gz
pfsense-packages-7fb1032da3a888d8bfc0f6044518be020d34f9f0.tar.bz2
pfsense-packages-7fb1032da3a888d8bfc0f6044518be020d34f9f0.zip
Add polish.
If the webgui does not use http, do not complain about the port for transparent mode.
Diffstat (limited to 'packages/squid/squid.inc')
-rw-r--r--packages/squid/squid.inc2
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;
}