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: rec-4.9.0-beta1~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F12800%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Print the received, invalid health-check response ID --- 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; }