Skip to content

Commit

Permalink
rec: Fix src/dest inversion in the protobuf message for TCP queries
Browse files Browse the repository at this point in the history
(cherry picked from commit 35a7fc4)
  • Loading branch information
rgacogne committed Oct 26, 2016
1 parent eb2684f commit cfeb109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdns/pdns_recursor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit cfeb109

Please sign in to comment.