]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
add tc flag in answer log 15943/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 21 Aug 2025 12:08:21 +0000 (14:08 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Thu, 21 Aug 2025 12:08:21 +0000 (14:08 +0200)
pdns/recursordist/pdns_recursor.cc

index 68387ed048a5de29dd8009fa3b8c69e6a12371b0..0460cdb8c6a7a5c3ea92b977f5bb370118aa45a9 100644 (file)
@@ -1869,6 +1869,7 @@ void startDoResolve(void* arg) // NOLINT(readability-function-cognitive-complexi
     uint64_t spentUsec = uSec(resolver.getNow() - comboWriter->d_now);
     if (!g_quiet) {
       resolver.d_slog->info(Logr::Info, "Answer", "rd", Logging::Loggable(comboWriter->d_mdp.d_header.rd),
+                            "tc", Logging::Loggable(packetWriter.getHeader()->tc),
                             "answers", Logging::Loggable(ntohs(packetWriter.getHeader()->ancount)),
                             "additional", Logging::Loggable(ntohs(packetWriter.getHeader()->arcount)),
                             "outqueries", Logging::Loggable(resolver.d_outqueries),