diff options
author | Luca Deri <deri@ntop.org> | 2021-03-14 19:55:21 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-03-14 19:55:21 +0100 |
commit | e58527536dea58cb7cf9627421e16a885f311712 (patch) | |
tree | a533c311ba0e3744353c04952e05f046cc89355f /example/ndpiReader.c | |
parent | 9419015711a78c266f9bf054caf551b88d0ad42d (diff) |
Help crash fix
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |