summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-12-15 08:42:49 +0000
committerLaurent Bercot <ska@appnovation.com>2023-12-15 08:42:49 +0000
commitc2debf6a725a4e7dc5abee3cb6196f0b3b8463fa (patch)
tree6847ecf94ac4ff4d21fba24a1949f88cff96d306
parenta35511eb200d16c603e1bc6404b4004649dcc0a7 (diff)
downloadshibari-c2debf6a725a4e7dc5abee3cb6196f0b3b8463fa.tar.xz
Correctly log nr instead of qd
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--src/common/shibari_log_answer.c2
1 files changed, 1 insertions, 1 deletions
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" : "") ;