aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-07-14 19:52:34 +0200
committerLuca Deri <deri@ntop.org>2023-07-14 19:52:34 +0200
commitfea09e825b8c3872ea54c8361242a9eff538222c (patch)
treefc970a79bea3def70a0f42bf28e98b4c9c960ce1 /src/include/ndpi_typedefs.h
parentabee1a2a6f1d8375831901e49ace85eaea0650e3 (diff)
Fixes risk mask exception handling while improving the overall performance
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 373a704da..91ae93b4e 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1432,7 +1432,7 @@ struct ndpi_flow_struct {
u_int8_t initial_binary_bytes[8], initial_binary_bytes_len;
u_int8_t risk_checked:1, ip_risk_mask_evaluated:1, host_risk_mask_evaluated:1, tree_risk_checked:1, _notused:4;
ndpi_risk risk_mask; /* Stores the flow risk mask for flow peers */
- ndpi_risk risk; /* Issues found with this flow [bitmask of ndpi_risk] */
+ ndpi_risk risk, risk_shadow; /* Issues found with this flow [bitmask of ndpi_risk] */
struct ndpi_risk_information risk_infos[MAX_NUM_RISK_INFOS]; /* String that contains information about the risks found */
u_int8_t num_risk_infos;