}
}
-#ifdef HAVE_FSTRM
#include "dnstap.hh"
+
+#ifdef HAVE_FSTRM
#include "fstrm_logger.hh"
static bool isEnabledForQueries(const std::shared_ptr<std::vector<std::unique_ptr<FrameStreamLogger>>>& fstreamLoggers)
socklen_t slen = address.getSocklen();
(void)getsockname(queryfd, reinterpret_cast<sockaddr*>(&localip), &slen); // NOLINT(cppcoreguidelines-pro-type-reinterpret-cast))
}
+#ifdef HAVE_FSTRM
if (fstrmQEnabled) {
logFstreamQuery(fstrmLoggers, queryTime, localip, address, DnstapMessage::ProtocolType::DoUDP, context.d_auth ? context.d_auth : boost::none, vpacket);
}
+#endif
}
// sleep until we see an answer to this, interface to mtasker