From 897f8314b29cd7de9eeab9af15b3e189ae6724a1 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Mon, 30 May 2022 01:12:38 +0200 Subject: Fixed dispay bug for risk_info --- example/reader_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example') 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; -- cgit v1.2.3