diff options
author | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-11 23:44:17 +0200 |
---|---|---|
committer | Martin Fuchs <martin.fuchs@trendchiller.com> | 2011-09-11 23:46:36 +0200 |
commit | 3f91755ba0a47bee174f15d165a09cb98e0be368 (patch) | |
tree | 77958eeaa21c3c6afa8e1d45484777f156412482 /config/squid3/squid.inc | |
parent | 4380f50f8a74fe7c7e4cd57a33f1384c1afd7224 (diff) | |
download | pfsense-packages-3f91755ba0a47bee174f15d165a09cb98e0be368.tar.gz pfsense-packages-3f91755ba0a47bee174f15d165a09cb98e0be368.tar.bz2 pfsense-packages-3f91755ba0a47bee174f15d165a09cb98e0be368.zip |
squid: enable fields by depencency and comment out unneccessary checks
Diffstat (limited to 'config/squid3/squid.inc')
-rw-r--r-- | config/squid3/squid.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/squid3/squid.inc b/config/squid3/squid.inc index 417eaeae..1e720ae7 100644 --- a/config/squid3/squid.inc +++ b/config/squid3/squid.inc @@ -344,6 +344,7 @@ function squid_validate_general($post, $input_errors) { $input_errors[] = "You can not run squid on the same port as the webgui"; } +/* if (($post['transparent_proxy'] != 'on') && ($post['private_subnet_proxy_off'] == 'on')) { $input_errors[] = "You can not bypass traffic to private subnets without using the transparent proxy."; } @@ -354,6 +355,7 @@ function squid_validate_general($post, $input_errors) { if (($post['transparent_proxy'] != 'on') && !empty($post['defined_ip_proxy_off_dest'])) { $input_errors[] = "You can not bypass traffic to specific IPs without using the transparent proxy."; } +*/ foreach (array('defined_ip_proxy_off') as $hosts) { foreach (explode(";", $post[$hosts]) as $host) { |