]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Log whether newly inserted dynamic blocks are eBPF-based
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 29 Sep 2023 08:32:30 +0000 (10:32 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 12 Dec 2023 10:45:56 +0000 (11:45 +0100)
(cherry picked from commit c7306f1464596b9bc6b4d3325d26b1d9d997b3c5)

pdns/dnsdistdist/dnsdist-dynblocks.cc

index acf85243833b86237188d177e91be10a246d4c9e..2f37dfdefa5c267726605e63b494e5e471736732 100644 (file)
@@ -260,7 +260,7 @@ void DynBlockRulesGroup::addOrRefreshBlock(boost::optional<NetmaskTree<DynBlock,
     }
 
     if (!d_beQuiet) {
-      warnlog("Inserting %sdynamic block for %s for %d seconds: %s", warning ? "(warning) " :"", requestor.toString(), rule.d_blockDuration, rule.d_blockReason);
+      warnlog("Inserting %s%sdynamic block for %s for %d seconds: %s", warning ? "(warning) " :"", bpf ? "eBPF " : "", requestor.toString(), rule.d_blockDuration, rule.d_blockReason);
     }
   }