From 7d5a56ba0c09fd5ee870e0e8b2d2b80e8029edbb Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Thu, 4 Sep 2008 08:49:38 +0000 Subject: prepare for squid 3.1 --- packages/squid3/squid.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/squid3') diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc index d6a7b15f..6424c2a4 100644 --- a/packages/squid3/squid.inc +++ b/packages/squid3/squid.inc @@ -571,7 +571,8 @@ function squid_resync_general() { } } if (($settings['transparent_proxy'] == 'on')) { - $conf .= "http_port 127.0.0.1:80 transparent\n"; + $conf .= "http_port 127.0.0.1:80 transparent\n"; // for squid < v.3.1 (for pf) +// $conf .= "http_port 127.0.0.1:80 intercept\n"; // new from squid >= 3.1 (for pf) } $icp_port = ($settings['icp_port'] ? $settings['icp_port'] : 0); -- cgit v1.2.3