From 61fc5be202f05113de07c063fa3fc9ccc47625d8 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Fri, 23 Jul 2021 17:26:56 +0200 Subject: Reworked flow risk implementation --- 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 e8bc5c9e4..f4f35da1a 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1053,7 +1053,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl flow->ndpi_flow->flow_extra_info); flow->risk = flow->ndpi_flow->risk; - + if(is_ndpi_proto(flow, NDPI_PROTOCOL_DHCP)) { snprintf(flow->dhcp_fingerprint, sizeof(flow->dhcp_fingerprint), "%s", flow->ndpi_flow->protos.dhcp.fingerprint); } else if(is_ndpi_proto(flow, NDPI_PROTOCOL_BITTORRENT)) { -- cgit v1.2.3