diff options
Diffstat (limited to 'config/squid3')
-rwxr-xr-x | config/squid3/33/squid.inc | 1 | ||||
-rwxr-xr-x | config/squid3/33/squid_antivirus.xml | 2 | ||||
-rwxr-xr-x | config/squid3/34/squid.inc | 1 | ||||
-rwxr-xr-x | config/squid3/34/squid_antivirus.xml | 2 |
4 files changed, 4 insertions, 2 deletions
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; 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 @@ <fieldname>client_info</fieldname> <description><![CDATA[Select what client info to forward to clamav.]]></description> <type>select</type> - <default_value>strip</default_value> + <default_value>both</default_value> <options> <option><name>Send Both client username and ip info(Default)</name><value>both</value></option> <option><name>Send only client username</name><value>username</value></option> 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; 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 @@ <fieldname>client_info</fieldname> <description><![CDATA[Select what client info to forward to clamav.]]></description> <type>select</type> - <default_value>strip</default_value> + <default_value>both</default_value> <options> <option><name>Send Both client username and ip info(Default)</name><value>both</value></option> <option><name>Send only client username</name><value>username</value></option> |