From: Remi Gacogne Date: Mon, 17 Oct 2016 10:19:06 +0000 (+0200) Subject: rec: Fix src/dest inversion in the protobuf message for TCP queries X-Git-Tag: dnsdist-1.1.0-beta2~64^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4577%2Fhead;p=thirdparty%2Fpdns.git rec: Fix src/dest inversion in the protobuf message for TCP queries --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index c719bfe646..2b9d9f3ef4 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) {