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 --- fuzz/fuzz_process_packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fuzz/fuzz_process_packet.c') diff --git a/fuzz/fuzz_process_packet.c b/fuzz/fuzz_process_packet.c index 3f0694cf9..2098f4fd1 100644 --- a/fuzz/fuzz_process_packet.c +++ b/fuzz/fuzz_process_packet.c @@ -23,7 +23,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { ndpi_protocol detected_protocol = ndpi_detection_process_packet(ndpi_info_mod, &ndpi_flow, Data, Size, 0, NULL); ndpi_protocol guessed_protocol = - ndpi_detection_giveup(ndpi_info_mod, &ndpi_flow, 1, &protocol_was_guessed); + ndpi_detection_giveup(ndpi_info_mod, &ndpi_flow, &protocol_was_guessed); ndpi_reset_serializer(&json_serializer); ndpi_reset_serializer(&csv_serializer); -- cgit v1.2.3