From c2debf6a725a4e7dc5abee3cb6196f0b3b8463fa Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Fri, 15 Dec 2023 08:42:49 +0000 Subject: Correctly log nr instead of qd Signed-off-by: Laurent Bercot --- src/common/shibari_log_answer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/shibari_log_answer.c b/src/common/shibari_log_answer.c index f34cee5..c639906 100644 --- a/src/common/shibari_log_answer.c +++ b/src/common/shibari_log_answer.c @@ -28,7 +28,7 @@ void shibari_log_answer (uint32_t v, s6dns_message_header_t const *hdr, uint16_t fmt[pos++] = '+' ; pos += uint16_fmt(fmt + pos, hdr->counts.ns) ; fmt[pos++] = '+' ; - pos += uint16_fmt(fmt + pos, hdr->counts.qd) ; + pos += uint16_fmt(fmt + pos, hdr->counts.nr) ; fmt[pos] = 0 ; fmtl[uint16_fmt(fmtl, len)] = 0 ; strerr_warni5x("answer 0 noerror ", fmt, " len ", fmtl, hdr->tc ? " tc" : "") ; -- cgit 1.4.1