From 3f91755ba0a47bee174f15d165a09cb98e0be368 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sun, 11 Sep 2011 23:44:17 +0200 Subject: squid: enable fields by depencency and comment out unneccessary checks --- config/squid/squid.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config/squid/squid.inc') diff --git a/config/squid/squid.inc b/config/squid/squid.inc index ad98ab14..d36c836a 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -324,6 +324,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."; } @@ -334,6 +335,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) { -- cgit v1.2.3