From 51d68cc08e352a2cc87c18b7f99a961237a2b7cb Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 24 Sep 2015 10:58:12 +0200 Subject: squid3-dev - fix default value handling for antivirus client forward options (Bug #4663) --- config/squid3/33/squid.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/squid3') diff --git a/config/squid3/33/squid.inc b/config/squid3/33/squid.inc index 73be7162..0f71def8 100755 --- a/config/squid3/33/squid.inc +++ b/config/squid3/33/squid.inc @@ -1308,6 +1308,7 @@ function squid_resync_antivirus(){ if ($antivirus_config['enable']=="on"){ switch ($antivirus_config['client_info']){ case "both": + default: $icap_send_client_ip="on"; $icap_send_client_username="on"; break; -- cgit v1.2.3 From 7266ef1e9c7938269c5753831fcc694cf95842a9 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 24 Sep 2015 10:59:42 +0200 Subject: squid3-dev - fix default value handling for antivirus client forward options (Bug #4663) --- config/squid3/33/squid_antivirus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/squid3') diff --git a/config/squid3/33/squid_antivirus.xml b/config/squid3/33/squid_antivirus.xml index 67319297..59f33fe2 100755 --- a/config/squid3/33/squid_antivirus.xml +++ b/config/squid3/33/squid_antivirus.xml @@ -110,7 +110,7 @@ client_info select - strip + both -- cgit v1.2.3 From 1fab12c73322c6198d508286bb93ef27a412a78d Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 24 Sep 2015 11:00:40 +0200 Subject: squid3 - fix default value handling for antivirus client forward options (Bug #4663) --- config/squid3/34/squid.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'config/squid3') diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index ec30910f..665c0d7c 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -1323,6 +1323,7 @@ function squid_resync_antivirus() { if ($antivirus_config['enable']=="on") { switch ($antivirus_config['client_info']) { case "both": + default: $icap_send_client_ip="on"; $icap_send_client_username="on"; break; -- cgit v1.2.3 From 5199d00c6b79a141f3371f7c65848164f26c1fe5 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 24 Sep 2015 11:01:28 +0200 Subject: squid3 - fix default value handling for antivirus client forward options (Bug #4663) --- config/squid3/34/squid_antivirus.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/squid3') diff --git a/config/squid3/34/squid_antivirus.xml b/config/squid3/34/squid_antivirus.xml index c722598d..5c1b57d5 100755 --- a/config/squid3/34/squid_antivirus.xml +++ b/config/squid3/34/squid_antivirus.xml @@ -110,7 +110,7 @@ client_info select - strip + both -- cgit v1.2.3