aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2022-05-30 01:12:38 +0200
committerLuca Deri <deri@ntop.org>2022-05-30 01:12:38 +0200
commit897f8314b29cd7de9eeab9af15b3e189ae6724a1 (patch)
tree3f8ead345435ae44f3e5e63c05c591e831277930 /example/reader_util.c
parent1da9f1a36fc2f60d8a2f13fca88a7675d327e3ad (diff)
Fixed dispay bug for risk_info
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index 1c1fde05a..9f908efb4 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1047,7 +1047,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
s = ndpi_get_flow_risk_info(flow->ndpi_flow, out, sizeof(out));
if(s != NULL)
- flow->risk_str = ndpi_strdup(out);
+ flow->risk_str = ndpi_strdup(s);
flow->confidence = flow->ndpi_flow->confidence;