From: Remi Gacogne Date: Thu, 11 May 2023 08:15:44 +0000 (+0200) Subject: dnsdist: Print the received, invalid health-check response ID X-Git-Tag: dnsdist-1.8.1~26^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=254ebc00a1c4805d9354aaa5919401bdd4aba95d;p=thirdparty%2Fpdns.git dnsdist: Print the received, invalid health-check response ID (cherry picked from commit bf22f0fdc1b9fe5f5d4e1d96333751542c432fe6) --- diff --git a/pdns/dnsdistdist/dnsdist-healthchecks.cc b/pdns/dnsdistdist/dnsdist-healthchecks.cc index 4a52052276..1addf7583d 100644 --- a/pdns/dnsdistdist/dnsdist-healthchecks.cc +++ b/pdns/dnsdistdist/dnsdist-healthchecks.cc @@ -69,7 +69,7 @@ static bool handleResponse(std::shared_ptr& data) const dnsheader * responseHeader = reinterpret_cast(data->d_buffer.data()); if (responseHeader->id != data->d_queryID) { if (g_verboseHealthChecks) { - infolog("Invalid health check response id %d from backend %s, expecting %d", data->d_queryID, ds->getNameWithAddr(), data->d_queryID); + infolog("Invalid health check response id %d from backend %s, expecting %d", responseHeader->id, ds->getNameWithAddr(), data->d_queryID); } return false; }