]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist --version: report yaml support 16029/head
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Mon, 4 Aug 2025 11:56:05 +0000 (13:56 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 25 Aug 2025 08:31:27 +0000 (10:31 +0200)
(cherry picked from commit 8ac38640efa2c90f1db59fddcd32cdb6c29d41db)

pdns/dnsdistdist/dnsdist.cc

index 0392f4de5a79b9369331e421dce1362bae2b89ac..81316cd68557913e1ed409d9a3a2286e9fcba79f 100644 (file)
@@ -2979,7 +2979,10 @@ static void reportFeatures()
   cout << "snmp ";
 #endif
 #ifdef HAVE_SYSTEMD
-  cout << "systemd";
+  cout << "systemd ";
+#endif
+#ifdef HAVE_YAML_CONFIGURATION
+  cout << "yaml ";
 #endif
   cout << endl;
 // NOLINTBEGIN(cppcoreguidelines-macro-usage)