Fixed dispay bug for risk_info

This commit is contained in:
Luca Deri
2022-05-30 01:12:38 +02:00
parent 1da9f1a36f
commit 897f8314b2
6 changed files with 132 additions and 5 deletions
+1 -1
View File
@@ -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;