aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-11-10 22:57:21 +0100
committerLuca Deri <deri@ntop.org>2019-11-10 22:57:21 +0100
commit8181d63a95cdf8ff593e602d84a48c341338974d (patch)
treeec03a4e237ba4c510cf0790308ea2676ed99c10e /example/reader_util.c
parentd0e7e6955293b656e1a1d7b01aebc1b5beefe711 (diff)
Added ndpi_init_detection_module() API preferences
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
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");