From 85f3476894c6fa913bfc333b243b56d832f25848 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. --- bin/named/main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/named/main.c b/bin/named/main.c index e57ed1c60f..9d8e1aeedc 100644 --- a/bin/named/main.c +++ b/bin/named/main.c @@ -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");