aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2022-07-11 09:47:47 +0200
committerGitHub <noreply@github.com>2022-07-11 09:47:47 +0200
commitb4cb14ec1922b16a52c24324792f2bd7819f04a7 (patch)
treeb3b7d8f645c8d6c910f0b3c4f80bc3f891db452a /example/reader_util.c
parentdf599e5effaf1a76a89a014a1f488b27fa88cc52 (diff)
Keep track of how many dissectors calls we made for each flow (#1657)
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index a81f87f6b..91eeb0775 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1050,6 +1050,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->risk_str = ndpi_strdup(s);
flow->confidence = flow->ndpi_flow->confidence;
+ flow->num_dissector_calls = flow->ndpi_flow->num_dissector_calls;
ndpi_snprintf(flow->host_server_name, sizeof(flow->host_server_name), "%s",
flow->ndpi_flow->host_server_name);