]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: use getInnerRemote() for the remotes ring 11870/head
authorKees Monshouwer <mind04@monshouwer.org>
Wed, 10 Aug 2022 10:17:01 +0000 (12:17 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 22 Aug 2022 12:52:14 +0000 (14:52 +0200)
(cherry picked from commit 531fce7704eb74249656a8fb1f65578b58c9678c)

pdns/auth-main.cc

index ed75595bed6ebf2aed6a0be70b71cdff55abc624..96f20a4dfdfd2d119aa4c674ccad5c9ac35dc0e6 100644 (file)
@@ -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)