diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-08-31 16:12:13 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-08-31 16:13:04 +0200 |
commit | 70febd225b0255cee6408a97b360f4edb7c7e8e3 (patch) | |
tree | 5eb253a02444e5962086c487e6cbf6d151dc9053 | |
parent | 9c3b5170fc0429a579b556cc864bc8597a37500c (diff) |
nDPId: Print compiled-in libgcrypt version (if libndpi was compiled with libgcrypt support).
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r-- | nDPId.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2166,6 +2166,12 @@ int main(int argc, char ** argv) ndpi_revision(), ndpi_get_api_version(), pcap_lib_version() + strlen("libpcap version ")); + if (ndpi_get_gcrypt_version() != NULL) + { + printf("gcrypt version: %s\n" + "----------------------------------\n", + ndpi_get_gcrypt_version()); + } openlog("nDPId", LOG_CONS | LOG_PERROR, LOG_DAEMON); |