From: Remi Gacogne Date: Tue, 17 Sep 2019 08:54:04 +0000 (+0200) Subject: dnsdist: Fix warning message on invalid secpoll answer X-Git-Tag: dnsdist-1.4.0-rc3~29^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8303%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Fix warning message on invalid secpoll answer --- 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; }