diff options
author | Luca Deri <deri@ntop.org> | 2024-08-22 12:26:17 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-08-22 12:26:17 +0200 |
commit | 9b1736aa8960170d32eac7c954194eff9436fbbc (patch) | |
tree | edff298adf2e620d2b62f754e0e111169534c957 | |
parent | e72255445c5654d1d1f932583fbf5f01c187e946 (diff) |
Initialization fix
-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 b2b6370dd..a385e6a28 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -385,6 +385,7 @@ void ndpiCheckHostStringMatch(char *testChar) { ndpi_str = ndpi_init_detection_module(NULL); NDPI_BITMASK_SET_ALL(all); + ndpi_set_protocol_detection_bitmask2(ndpi_str, &all); ndpi_finalize_initialization(ndpi_str); testRes = ndpi_match_string_subprotocol(ndpi_str, |