diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2023-12-15 08:42:49 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2023-12-15 08:42:49 +0000 |
commit | c2debf6a725a4e7dc5abee3cb6196f0b3b8463fa (patch) | |
tree | 6847ecf94ac4ff4d21fba24a1949f88cff96d306 /src | |
parent | a35511eb200d16c603e1bc6404b4004649dcc0a7 (diff) | |
download | shibari-c2debf6a725a4e7dc5abee3cb6196f0b3b8463fa.tar.gz shibari-c2debf6a725a4e7dc5abee3cb6196f0b3b8463fa.tar.xz shibari-c2debf6a725a4e7dc5abee3cb6196f0b3b8463fa.zip |
Correctly log nr instead of qd
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/common/shibari_log_answer.c | 2 |
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" : "") ; |