Fix logging booboo.

This commit is contained in:
Simon Kelley committed 2025-04-27 23:25:30 +01:00
1 parent a458c2bfb0
commit e127a972d1
1 file changed
+2
+2
View File
@@ -402,6 +402,8 @@ size_t make_local_answer(int flags, int gotname, size_t size, struct dns_header
setup_reply(header, flags, ede);
gotname &= ~F_QUERY;
if (flags & (F_NXDOMAIN | F_NOERR))
log_query(flags | gotname | F_NEG | F_CONFIG | F_FORWARD, name, NULL, NULL, 0);