From e58527536dea58cb7cf9627421e16a885f311712 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 14 Mar 2021 19:55:21 +0100 Subject: Help crash fix --- example/ndpiReader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index a3662c8ab..b5df4b133 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -514,6 +514,7 @@ static void help(u_int long_help) { if(long_help) { NDPI_PROTOCOL_BITMASK all; + ndpi_info_mod = ndpi_init_detection_module(ndpi_no_prefs); printf("\n\nnDPI supported protocols:\n"); printf("%3s %-22s %-8s %-12s %s\n", "Id", "Protocol", "Layer_4", "Breed", "Category"); num_threads = 1; -- cgit v1.2.3