From: Otto Moerbeek Date: Mon, 18 Mar 2019 13:49:22 +0000 (+0100) Subject: Use RecDnstapMessage for recursor queries. X-Git-Tag: dnsdist-1.4.0-beta1~13^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b83d5d89cb6d4f86f55f2aeec11228dde34b897a;p=thirdparty%2Fpdns.git Use RecDnstapMessage for recursor queries. --- diff --git a/pdns/lwres.cc b/pdns/lwres.cc index dbbaba26ef..ebbf8915c0 100644 --- a/pdns/lwres.cc +++ b/pdns/lwres.cc @@ -77,7 +77,7 @@ static void logFstreamQuery(const std::shared_ptr(&*packet.begin()), packet.size(), &ts, nullptr); + RecDnstapMessage message(SyncRes::s_serverID, nullptr, &ip, doTCP, reinterpret_cast(&*packet.begin()), packet.size(), &ts, nullptr); std::string str; message.serialize(str);