aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2021-03-30 17:49:48 +0200
committerLuca Deri <deri@ntop.org>2021-03-30 17:49:48 +0200
commitfcbc16da002d6c08ecbff6567b6e8462238358d1 (patch)
tree2f40af44abf3fa9e9f22422dda5bfc1d85e0e881 /example/reader_util.c
parentffbce931b981f466bdb82ce8ab757f871997e822 (diff)
Fixed invalid guess stats
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 222a5f3bb..881d21697 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1531,6 +1531,7 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow,
flow->detected_protocol = ndpi_detection_giveup(workflow->ndpi_struct, flow->ndpi_flow,
enable_protocol_guess, &proto_guessed);
+ if(enable_protocol_guess) workflow->stats.guessed_flow_protocols++;
}
process_ndpi_collected_info(workflow, flow, csv_fp);