aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid3
diff options
context:
space:
mode:
Diffstat (limited to 'packages/squid3')
-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);