mirror of
https://github.com/optim-enterprises-bv/nDPId.git
synced 2025-10-30 01:42:22 +00:00
nDPId: `-v' give information about libnDPI linkage
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
8
nDPId.c
8
nDPId.c
@@ -4947,11 +4947,15 @@ static void print_usage(char const * const arg0)
|
|||||||
static void nDPId_print_deps_version(FILE * const out)
|
static void nDPId_print_deps_version(FILE * const out)
|
||||||
{
|
{
|
||||||
fprintf(out,
|
fprintf(out,
|
||||||
"----------------------------------\n"
|
"------------------------------------------------------\n"
|
||||||
|
#ifdef LIBNDPI_STATIC
|
||||||
|
"nDPI version: %s (statically linked)\n"
|
||||||
|
#else
|
||||||
"nDPI version: %s\n"
|
"nDPI version: %s\n"
|
||||||
|
#endif
|
||||||
" API version: %u\n"
|
" API version: %u\n"
|
||||||
"pcap version: %s\n"
|
"pcap version: %s\n"
|
||||||
"----------------------------------\n",
|
"------------------------------------------------------\n",
|
||||||
ndpi_revision(),
|
ndpi_revision(),
|
||||||
ndpi_get_api_version(),
|
ndpi_get_api_version(),
|
||||||
pcap_lib_version() + strlen("libpcap version "));
|
pcap_lib_version() + strlen("libpcap version "));
|
||||||
|
|||||||
Reference in New Issue
Block a user