From 0712d496fe63fd16f8e943a438c57f75d8cae880 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Wed, 10 Jan 2024 11:46:57 +0100 Subject: config: allow configuration of guessing algorithms --- example/ndpiSimpleIntegration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ndpiSimpleIntegration.c') diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c index 2cc18057f..edc37090c 100644 --- a/example/ndpiSimpleIntegration.c +++ b/example/ndpiSimpleIntegration.c @@ -880,7 +880,7 @@ static void ndpi_process_packet(uint8_t * const args, flow_to_process->guessed_protocol = ndpi_detection_giveup(workflow->ndpi_struct, flow_to_process->ndpi_flow, - 1, &protocol_was_guessed); + &protocol_was_guessed); if (protocol_was_guessed != 0) { printf("[%8llu, %d, %4d][GUESSED] protocol: %s | app protocol: %s | category: %s\n", workflow->packets_captured, -- cgit v1.2.3