aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-11-12 12:28:34 +0100
committerLuca Deri <deri@ntop.org>2019-11-12 12:28:34 +0100
commitab9ccf9eb9a6571d84bd0b2c8e185565d0d700f6 (patch)
treecce99c96e6be6710995648517be74fb839dd314f /example
parent15ec013af8e6fd48c211e0ea14bf27739c9c4211 (diff)
Fixed new nDPi API
Diffstat (limited to 'example')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 481254292..abf1bce54 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(0 /* Don't skip tor hosts */);
+ ndpi_info_mod = ndpi_init_detection_module(ndpi_no_prefs);
if(ndpi_info_mod == NULL) return -1;