aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-09-04 08:49:38 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-09-04 08:49:38 +0000
commit7d5a56ba0c09fd5ee870e0e8b2d2b80e8029edbb (patch)
tree5107687f6736bab8b3764f9d405cbbe31b7cd734
parente98aca27cd0cb3646cf5f439f9598b639d4a0910 (diff)
downloadpfsense-packages-7d5a56ba0c09fd5ee870e0e8b2d2b80e8029edbb.tar.gz
pfsense-packages-7d5a56ba0c09fd5ee870e0e8b2d2b80e8029edbb.tar.bz2
pfsense-packages-7d5a56ba0c09fd5ee870e0e8b2d2b80e8029edbb.zip
prepare for squid 3.1
-rw-r--r--packages/squid3/squid.inc3
1 files changed, 2 insertions, 1 deletions
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);