From 12e6e04c0ebb976cf23d0bc655a9b3e6a28ff03a Mon Sep 17 00:00:00 2001 From: Alfredo Cardigliano Date: Tue, 27 Oct 2020 18:27:30 +0100 Subject: [PATCH] Print API rev --- example/ndpiReader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 7f3fa08e5..ce027f1b0 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -335,7 +335,7 @@ flowGetBDMeanandVariance(struct ndpi_flow_info* flow) { * @brief Print help instructions */ static void help(u_int long_help) { - printf("Welcome to nDPI %s\n\n", ndpi_revision()); + printf("Welcome to nDPI %s (API rev.%u)\n\n", ndpi_revision(), ndpi_get_api_version()); printf("ndpiReader " #ifndef USE_DPDK