squidclamav: Fix an error when parsing the client IP address

This commit is contained in:
Michael Tremer
2014-10-30 17:49:43 +01:00
parent 584601c70e
commit 99154ed19d
2 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
--- squidclamav-5.11/src/pattern.c~ 2014-10-29 13:08:05.658143495 +0000
+++ squidclamav-5.11/src/pattern.c 2014-10-29 13:08:20.964642365 +0000
@@ -151,10 +151,6 @@
return 1;
}
- /* extract source ipaddress and source fqdn */
- if (parseSourceAddress(in_buff.src_address, "/") != 0) {
- }
-
if (debug != 0)
logit(log_file, "DEBUG Parsed request: %s %s/%s %s %s\n", in_buff.url, in_buff.ipaddress, in_buff.fqdn, in_buff.ident, in_buff.method);