aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-08-21 19:35:27 +0200
committerLuca Deri <deri@ntop.org>2020-08-21 19:35:27 +0200
commitfef199ad450d451d88d143d395dfcfd7906deefc (patch)
treecc958c032795af42f74bcc5a288eba9f5229ac6f /src/include
parentb23781e80735bf856bf5d7f364a382dd85b8cd28 (diff)
Added new check for detecting suspicious (too long) names
Diffstat (limited to 'src/include')
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index d5baf9fe7..d585ccd23 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -83,10 +83,10 @@ typedef enum {
NDPI_BLACKLISTED_HOST,
/* Leave this as last member */
- NDPI_MAX_RISK
+ NDPI_MAX_RISK /* must be <= 31 due to (**) */
} ndpi_risk_enum;
-typedef u_int32_t ndpi_risk;
+typedef u_int32_t ndpi_risk; /* (**) */
/* NDPI_VISIT */
typedef enum {