diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2024-01-10 11:46:57 +0100 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-01-18 10:21:24 +0100 |
commit | 0712d496fe63fd16f8e943a438c57f75d8cae880 (patch) | |
tree | 5102d4c3de8250cd16f52658de3f0dad55554c7c /example/ndpiSimpleIntegration.c | |
parent | 6c85f10cd5a29346522ad647a38066f0cc44e5a7 (diff) |
config: allow configuration of guessing algorithms
Diffstat (limited to 'example/ndpiSimpleIntegration.c')
-rw-r--r-- | example/ndpiSimpleIntegration.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |