mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
Fix logging booboo.
This commit is contained in:
@@ -402,6 +402,8 @@ size_t make_local_answer(int flags, int gotname, size_t size, struct dns_header
|
|||||||
|
|
||||||
setup_reply(header, flags, ede);
|
setup_reply(header, flags, ede);
|
||||||
|
|
||||||
|
gotname &= ~F_QUERY;
|
||||||
|
|
||||||
if (flags & (F_NXDOMAIN | F_NOERR))
|
if (flags & (F_NXDOMAIN | F_NOERR))
|
||||||
log_query(flags | gotname | F_NEG | F_CONFIG | F_FORWARD, name, NULL, NULL, 0);
|
log_query(flags | gotname | F_NEG | F_CONFIG | F_FORWARD, name, NULL, NULL, 0);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user