aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3/34
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-09-24 07:02:54 -0300
committerRenato Botelho <renato@netgate.com>2015-09-24 07:02:54 -0300
commit45432e46ab166d2b27f9bef4927cbe2f04b91e63 (patch)
tree87901b675ecbee337cdc38e3a68cd5b7825e8d38 /config/squid3/34
parent2fafdcbadfae5173a3c4dcd45b24955534d087b4 (diff)
parenta95f4b2f7435fcca00ab3d10e3c9276ca2af4d44 (diff)
downloadpfsense-packages-45432e46ab166d2b27f9bef4927cbe2f04b91e63.tar.gz
pfsense-packages-45432e46ab166d2b27f9bef4927cbe2f04b91e63.tar.bz2
pfsense-packages-45432e46ab166d2b27f9bef4927cbe2f04b91e63.zip
Merge pull request #1079 from doktornotor/patch-1
Diffstat (limited to 'config/squid3/34')
-rwxr-xr-xconfig/squid3/34/squid.inc1
-rwxr-xr-xconfig/squid3/34/squid_antivirus.xml2
2 files changed, 2 insertions, 1 deletions
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>