]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Include protobuf-c version
authorPetr Menšík <pemensik@redhat.com>
Mon, 18 Nov 2019 21:14:20 +0000 (22:14 +0100)
committerMark Andrews <marka@isc.org>
Tue, 17 Dec 2019 23:46:52 +0000 (23:46 +0000)
Include used version of protobuf-c in version info, both link time and
runtime version is available.

bin/named/main.c

index e57ed1c60f888bf4417cbd967f3539dc9ec0d399..9d8e1aeedc4375b7875ae1034ee8223abf0dda12 100644 (file)
@@ -557,6 +557,12 @@ OPENSSL_VERSION_NUMBER >= 0x10100000L /* 1.1.0 or higher */
        /* Unfortunately, no version define on link time */
        printf("linked to maxminddb version: %s\n",
               MMDB_lib_version());
+#endif
+#if defined(HAVE_DNSTAP)
+       printf("compiled with protobuf-c version: %s\n",
+              PROTOBUF_C_VERSION);
+       printf("linked to protobuf-c version: %s\n",
+              protobuf_c_version());
 #endif
        printf("threads support is enabled\n\n");