Tweak logging for truncated replies.

This commit is contained in:
Simon Kelley committed 2024-11-24 22:13:44 +00:00
1 parent 4ea23f7ea1
commit 04d7693d86
3 files changed
+3 -1

No files matched your search

+1
View File
@@ -2332,6 +2332,7 @@ size_t answer_request(struct dns_header *header, char *limit, size_t qlen,
if (!(ansp = skip_questions(header, qlen)))
return 0; /* bad packet */
anscount = nscount = addncount = 0;
log_query(F_CONFIG, "query", NULL, "truncated", 0);
}
if (nxdomain)