]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Fix unused function warnings if !ENABLE_NOD 12047/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Oct 2022 08:26:30 +0000 (10:26 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 3 Oct 2022 08:26:30 +0000 (10:26 +0200)
pdns/pdns_recursor.cc

index ba69d2c6b2e2b21ea792d14112b3d39221fab66b..7148778082382a994caf4a58b67831ea533fe24a 100644 (file)
@@ -799,7 +799,7 @@ bool isAllowNotifyForZone(DNSName qname)
   return false;
 }
 
-#ifdef HAVE_FSTRM
+#if defined(HAVE_FSTRM) && defined(NOD_ENABLED)
 #include "dnstap.hh"
 #include "fstrm_logger.hh"