aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiSimpleIntegration.c
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2024-01-09 21:49:30 +0100
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-01-18 10:21:24 +0100
commit88720331ae6c68e99816ae3eee5f618fdddac02f (patch)
tree4646cf5c6120e3bb29181644df6465e54750aa3c /example/ndpiSimpleIntegration.c
parent1289951b322c66295cdb03b3c26a6cdd24cc160d (diff)
config: remove `enum ndpi_prefs`
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;