From 531fce7704eb74249656a8fb1f65578b58c9678c Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Wed, 10 Aug 2022 12:17:01 +0200 Subject: [PATCH] auth: use getInnerRemote() for the remotes ring --- pdns/auth-main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 932f4e9cfe..27e2568089 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -597,7 +597,7 @@ try { continue; S.ringAccount("queries", question.qdomain, question.qtype); - S.ringAccount("remotes", question.d_remote); + S.ringAccount("remotes", question.getInnerRemote()); if (logDNSQueries) { g_log << Logger::Notice << "Remote " << question.getRemoteString() << " wants '" << question.qdomain << "|" << question.qtype << "', do = " << question.d_dnssecOk << ", bufsize = " << question.getMaxReplyLen(); if (question.d_ednsRawPacketSizeLimit > 0 && question.getMaxReplyLen() != (unsigned int)question.d_ednsRawPacketSizeLimit) -- 2.47.2