From 35a7fc41b202da6406f88e79d0bd7b3dccfcae5c Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Mon, 17 Oct 2016 12:19:06 +0200 Subject: [PATCH] rec: Fix src/dest inversion in the protobuf message for TCP queries --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index c719bfe64..2b9d9f3ef 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -1326,7 +1326,7 @@ void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) dc->d_ednssubnet = ednssubnet; if (!luaconfsLocal->protobufTaggedOnly) { - protobufLogQuery(luaconfsLocal->protobufServer, luaconfsLocal->protobufMaskV4, luaconfsLocal->protobufMaskV6, dc->d_uuid, dest, conn->d_remote, ednssubnet, true, dh->id, conn->qlen, qname, qtype, qclass, dc->d_policyTags); + protobufLogQuery(luaconfsLocal->protobufServer, luaconfsLocal->protobufMaskV4, luaconfsLocal->protobufMaskV6, dc->d_uuid, conn->d_remote, dest, ednssubnet, true, dh->id, conn->qlen, qname, qtype, qclass, dc->d_policyTags); } } catch(std::exception& e) { -- 2.40.0