From e37d8aecba06082d72b652650d0feaefa20b44dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Mon, 18 Nov 2019 22:14:20 +0100 Subject: [PATCH] Include protobuf-c version Include used version of protobuf-c in version info, both link time and runtime version is available. (cherry picked from commit 85f3476894c6fa913bfc333b243b56d832f25848) --- bin/named/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/named/main.c b/bin/named/main.c index f9ffe53b39..e4e4d81261 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -522,6 +522,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");