summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2014-03-29 09:20:07 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2014-03-29 09:20:07 +0000
commitb7639d58158c6e971535893b407560e136a27994 (patch)
tree1e1a4cb984e390d94421f63b2e99da7163b54902
parent49752b90d5ecdec87933133a3696efc5f60b7a16 (diff)
downloaddnsmasq-b7639d58158c6e971535893b407560e136a27994.tar.gz
Fix ipsets logging patch.v2.69rc4v2.69rc3
-rw-r--r--src/rfc1035.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rfc1035.c b/src/rfc1035.c
index 55e6e1c..25ac167 100644
--- a/src/rfc1035.c
+++ b/src/rfc1035.c
@@ -1103,7 +1103,7 @@ int extract_addresses(struct dns_header *header, size_t qlen, char *name, time_t
ipsets_cur = ipsets;
while (*ipsets_cur)
{
- log_query(F_IPSET, name, &addr, *ipsets_cur);
+ log_query((flags & (F_IPV4 | F_IPV6)) | F_IPSET, name, &addr, *ipsets_cur);
add_to_ipset(*ipsets_cur++, &addr, flags, 0);
}
}