From 88720331ae6c68e99816ae3eee5f618fdddac02f Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Tue, 9 Jan 2024 21:49:30 +0100 Subject: config: remove `enum ndpi_prefs` --- example/ndpiSimpleIntegration.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'example/ndpiSimpleIntegration.c') 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; -- cgit v1.2.3