aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiSimpleIntegration.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpiSimpleIntegration.c')
-rw-r--r--example/ndpiSimpleIntegration.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c
index d727d353e..2cc18057f 100644
--- a/example/ndpiSimpleIntegration.c
+++ b/example/ndpiSimpleIntegration.c
@@ -188,8 +188,7 @@ static struct nDPI_workflow * init_workflow(char const * const file_or_device)
printf("pcap_setfilter error: '%s'\n", pcap_geterr(workflow->pcap_handle));
}
- ndpi_init_prefs init_prefs = ndpi_no_prefs;
- workflow->ndpi_struct = ndpi_init_detection_module(init_prefs);
+ workflow->ndpi_struct = ndpi_init_detection_module();
if (workflow->ndpi_struct == NULL) {
free_workflow(&workflow);
return NULL;