Permalink
Browse files

rec: Fix src/dest inversion in the protobuf message for TCP queries

(cherry picked from commit 35a7fc4)
  • Loading branch information...
1 parent eb2684f commit cfeb109f4d7b0a6b3e18c9bf1e8a387b75a32bd7 @rgacogne rgacogne committed Oct 17, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 pdns/pdns_recursor.cc
@@ -1354,7 +1354,7 @@ void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var)
const struct dnsheader* dh = (const struct dnsheader*) conn->data;
dc->d_ednssubnet = ednssubnet;
- 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) {
if(g_logCommonErrors)

0 comments on commit cfeb109

Please sign in to comment.