From aa74ed19111e0e690480d5f9787ce3b4235d7e67 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 17 Sep 2019 10:54:04 +0200 Subject: [PATCH] dnsdist: Fix warning message on invalid secpoll answer --- pdns/dnsdistdist/dnsdist-secpoll.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/dnsdist-secpoll.cc b/pdns/dnsdistdist/dnsdist-secpoll.cc index 5bd32db187..179779f15d 100644 --- a/pdns/dnsdistdist/dnsdist-secpoll.cc +++ b/pdns/dnsdistdist/dnsdist-secpoll.cc @@ -159,7 +159,7 @@ static std::string getSecPollStatus(const std::string& queriedName, int timeout= if (ntohs(d.qdcount) != 1 || ntohs(d.ancount) != 1) { if (g_verbose) { - warnlog("Invalid answer (qdcount %d / ancount %d) received from the secpoll stub resolver %s", dest.toString()); + warnlog("Invalid answer (qdcount %d / ancount %d) received from the secpoll stub resolver %s", ntohs(d.qdcount), ntohs(d.ancount), dest.toString()); } continue; } -- 2.47.2