]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/squidclamav-5.11-dont_use_ipv6.patch
reiserfsprogs: Update to 3.6.27
[ipfire-2.x.git] / src / patches / squidclamav-5.11-dont_use_ipv6.patch
CommitLineData
5ced384b
SS
1diff -Nur a/src/squidclamav.c b/src/squidclamav.c
2--- a/src/squidclamav.c 2012-10-29 09:46:06.000000000 +0100
3+++ b/src/squidclamav.c 2013-07-06 19:10:56.375292374 +0200
4@@ -413,6 +413,9 @@
5 /* Suppress error: SSL certificate problem, verify that the CA cert is OK */
6 curl_easy_setopt (eh, CURLOPT_SSL_VERIFYHOST, 0);
7 curl_easy_setopt (eh, CURLOPT_SSL_VERIFYPEER, 0);
8+
9+ /* Prevent squidclamav from using IPv6 - fix by Nico Prenzel */
10+ curl_easy_setopt (eh, CURLOPT_IPRESOLVE, CURL_IPRESOLVE_V4);
11 }
12 }
13 /* create a squidguard child process and setup pipes */