commit | b7639d58158c6e971535893b407560e136a27994 | [log] [tgz] |
---|---|---|
author | Simon Kelley <simon@thekelleys.org.uk> | Sat Mar 29 09:20:07 2014 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Sat Mar 29 09:20:07 2014 +0000 |
tree | 1e1a4cb984e390d94421f63b2e99da7163b54902 | |
parent | 49752b90d5ecdec87933133a3696efc5f60b7a16 [diff] |
Fix ipsets logging patch.
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 @@ 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); } }