aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_typedefs.h
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-12-22 20:52:56 +0100
committerLuca Deri <deri@ntop.org>2023-12-22 20:52:56 +0100
commita95d4744b61a0c32a08603c11e256bac1ac42ba7 (patch)
treefae7197b24996371bacad41ecf3bd0c8be3f96dd /src/include/ndpi_typedefs.h
parent8285fffdaeda5d2405360719a57f817b4772e6d1 (diff)
Fixes nDPI datastructs size check
Diffstat (limited to 'src/include/ndpi_typedefs.h')
-rw-r--r--src/include/ndpi_typedefs.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 077e6fd92..473b65507 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1476,11 +1476,11 @@ struct ndpi_flow_struct {
#if !defined(NDPI_CFFI_PREPROCESSING) && defined(__linux__)
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
-_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 216,
- "Size of the struct member protocols increased to more than 216 bytes, "
+_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 224,
+ "Size of the struct member protocols increased to more than 224 bytes, "
"please check if this change is necessary.");
-_Static_assert(sizeof(struct ndpi_flow_struct) <= 968,
- "Size of the flow struct increased to more than 968 bytes, "
+_Static_assert(sizeof(struct ndpi_flow_struct) <= 976,
+ "Size of the flow struct increased to more than 976 bytes, "
"please check if this change is necessary.");
#endif
#endif