diff options
author | Seth Mos <seth.mos@xs4all.nl> | 2006-12-21 17:12:34 +0000 |
---|---|---|
committer | Seth Mos <seth.mos@xs4all.nl> | 2006-12-21 17:12:34 +0000 |
commit | 7fb1032da3a888d8bfc0f6044518be020d34f9f0 (patch) | |
tree | b869e56016fd2ef7a4f821fddbf013e6d2d7928d | |
parent | f0b33ddecf33602198e5ae44b0a5ee07060a689c (diff) | |
download | pfsense-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.
-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; } |