]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use RecDnstapMessage for recursor queries.
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 18 Mar 2019 13:49:22 +0000 (14:49 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 18 Mar 2019 13:49:22 +0000 (14:49 +0100)
pdns/lwres.cc

index dbbaba26efdaf93462c8e114127e5a7573743449..ebbf8915c097c85059eab97d12223947bb0a7c97 100644 (file)
@@ -77,7 +77,7 @@ static void logFstreamQuery(const std::shared_ptr<std::vector<std::unique_ptr<Fr
 
   struct timespec ts;
   TIMEVAL_TO_TIMESPEC(&queryTime, &ts);
-  DnstapMessage message(SyncRes::s_serverID, nullptr, &ip, doTCP, reinterpret_cast<const char*>(&*packet.begin()), packet.size(), &ts, nullptr);
+  RecDnstapMessage message(SyncRes::s_serverID, nullptr, &ip, doTCP, reinterpret_cast<const char*>(&*packet.begin()), packet.size(), &ts, nullptr);
   std::string str;
   message.serialize(str);