config: remove enum ndpi_prefs
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user