From 492dcb92e3bf90b35dd42da0fc23ac175688132d Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Tue, 1 Apr 2014 23:10:36 -0300 Subject: squid3-dev -fix icp port default disable option Thanks to Tikimotel and bellera --- config/squid3/33/squid.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/squid3/33/squid.inc b/config/squid3/33/squid.inc index bc238a5d..c0daa512 100755 --- a/config/squid3/33/squid.inc +++ b/config/squid3/33/squid.inc @@ -928,7 +928,7 @@ function squid_resync_general() { $conf .= "http_port 127.0.0.1:{$port} intercept\n"; } } - $icp_port = ($settings['icp_port'] ? $settings['icp_port'] : 7); + $icp_port = ($settings['icp_port'] ? $settings['icp_port'] : 0); $dns_v4_first= ($settings['dns_v4_first'] == "on" ? "on" : "off" ); $pidfile = "{$g['varrun_path']}/squid.pid"; $language = ($settings['error_language'] ? $settings['error_language'] : 'en'); -- cgit v1.2.3