From 8181d63a95cdf8ff593e602d84a48c341338974d Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 10 Nov 2019 22:57:21 +0100 Subject: Added ndpi_init_detection_module() API preferences --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/reader_util.c') diff --git a/example/reader_util.c b/example/reader_util.c index dd6676cec..e7fe521a9 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -413,7 +413,7 @@ struct ndpi_workflow* ndpi_workflow_init(const struct ndpi_workflow_prefs * pref set_ndpi_flow_malloc(NULL), set_ndpi_flow_free(NULL); /* TODO: just needed here to init ndpi malloc wrapper */ - module = ndpi_init_detection_module(); + module = ndpi_init_detection_module(ndpi_no_prefs); if(module == NULL) { NDPI_LOG(0, NULL, NDPI_LOG_ERROR, "global structure initialization failed\n"); -- cgit v1.2.3