aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/ndpiReader.c1
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,