diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-07-17 19:32:41 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-07-17 19:32:41 +0200 |
commit | 7217b90cd1c88daf44f02c9c408ebf707cbdaec4 (patch) | |
tree | ecc75a570df4366e9bdb06477892dbf11a414092 /nDPId.c | |
parent | 74a9f7d86bfc2e538e6633665a72fa4dab8c652a (diff) |
nDPId: `-v' give information about libnDPI linkage
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'nDPId.c')
-rw-r--r-- | nDPId.c | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4947,11 +4947,15 @@ static void print_usage(char const * const arg0) static void nDPId_print_deps_version(FILE * const out) { fprintf(out, - "----------------------------------\n" + "------------------------------------------------------\n" +#ifdef LIBNDPI_STATIC + "nDPI version: %s (statically linked)\n" +#else "nDPI version: %s\n" +#endif " API version: %u\n" "pcap version: %s\n" - "----------------------------------\n", + "------------------------------------------------------\n", ndpi_revision(), ndpi_get_api_version(), pcap_lib_version() + strlen("libpcap version ")); |