diff options
author | Luca Deri <deri@ntop.org> | 2021-07-23 17:26:56 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-07-23 17:27:15 +0200 |
commit | 61fc5be202f05113de07c063fa3fc9ccc47625d8 (patch) | |
tree | e7cb3b63e579a5f7c072de7c8836bd3aace04b33 /example/reader_util.c | |
parent | 4ffe1eb3c00d59fe746f4668ec9c6b3726848fce (diff) |
Reworked flow risk implementation
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |