summaryrefslogtreecommitdiff
path: root/src/libs6dns/s6dns_engine.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-01-30 17:51:48 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-01-30 17:51:48 +0000
commit088cb558ceb375943ffa995d0c541ad43b309b9d (patch)
treea9dc8a8755cbdb6db43cfa164215c5a7a82dd5e8 /src/libs6dns/s6dns_engine.c
parent7a2d3d8f3db0c5d0084d72a131c225a28e22e9b9 (diff)
downloads6-dns-088cb558ceb375943ffa995d0c541ad43b309b9d.tar.xz
Zoning in on the ppc bug
Diffstat (limited to 'src/libs6dns/s6dns_engine.c')
-rw-r--r--src/libs6dns/s6dns_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs6dns/s6dns_engine.c b/src/libs6dns/s6dns_engine.c
index 5cb77e5..71fc200 100644
--- a/src/libs6dns/s6dns_engine.c
+++ b/src/libs6dns/s6dns_engine.c
@@ -35,7 +35,7 @@ static int relevant (char const *q, unsigned int qlen, char const *ans, unsigned
uint16_t id ;
LOLDEBUG("entering relevant()") ;
s6dns_message_header_unpack(ans, &h) ;
- LOLDEBUG(" testing answer qr, opcode, z, counts.qd") ;
+ LOLDEBUG(" answer qr = %u, opcode = %u, z = %u, qd = %u", h.qr, h.opcode, h.z, h.counts.qd) ;
if (!h.qr || h.opcode || h.z || (h.counts.qd != 1)) return 0 ;
LOLDEBUG(" testing answer rd") ;
if (h.rd != (q[2] & 1)) return 0 ;