diff options
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 2 | ||||
-rw-r--r-- | example/reader_util.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 3d9deea86..481254292 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -4169,7 +4169,7 @@ int orginal_main(int argc, char **argv) { analyzeUnitTest(); gettimeofday(&startup_time, NULL); - ndpi_info_mod = ndpi_init_detection_module(); + ndpi_info_mod = ndpi_init_detection_module(0 /* Don't skip tor hosts */); if(ndpi_info_mod == NULL) return -1; 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"); |