aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2014-04-01 23:10:36 -0300
committerMarcello Coutinho <marcellocoutinho@gmail.com>2014-04-01 23:10:36 -0300
commit492dcb92e3bf90b35dd42da0fc23ac175688132d (patch)
tree88724dd56de18d1ebe5c1e8fc6c56b917c3a397f /config/squid3
parent5eee1edfd52d58653d0589cce0effa7646c370fe (diff)
downloadpfsense-packages-492dcb92e3bf90b35dd42da0fc23ac175688132d.tar.gz
pfsense-packages-492dcb92e3bf90b35dd42da0fc23ac175688132d.tar.bz2
pfsense-packages-492dcb92e3bf90b35dd42da0fc23ac175688132d.zip
squid3-dev -fix icp port default disable option
Thanks to Tikimotel and bellera
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/33/squid.inc2
1 files changed, 1 insertions, 1 deletions
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');