diff options
author | Simon Kelley <simon@thekelleys.org.uk> | 2014-03-29 09:20:07 +0000 |
---|---|---|
committer | Simon Kelley <simon@thekelleys.org.uk> | 2014-03-29 09:20:07 +0000 |
commit | b7639d58158c6e971535893b407560e136a27994 (patch) | |
tree | 1e1a4cb984e390d94421f63b2e99da7163b54902 | |
parent | 49752b90d5ecdec87933133a3696efc5f60b7a16 (diff) | |
download | dnsmasq-b7639d58158c6e971535893b407560e136a27994.tar.gz |
-rw-r--r-- | src/rfc1035.c | 2 |
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); } } |