aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2023-12-22 21:01:14 +0100
committerLuca Deri <deri@ntop.org>2023-12-22 21:01:14 +0100
commitcbea1b2203647e3ee819d8d1d93411e8a8f9e116 (patch)
treee39bd218f74378f73a079adad0e5c74bc0e9e198
parenta95d4744b61a0c32a08603c11e256bac1ac42ba7 (diff)
Fixed check (when using ./autogen.sh --enable-option-checking=fatal --enable-debug-messages --with-thread-sanitizer --with-pcre2 --with-maxminddb --enable-tls-sigs)
-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 473b65507..af13a8fa8 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) <= 224,
- "Size of the struct member protocols increased to more than 224 bytes, "
+_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 256,
+ "Size of the struct member protocols increased to more than 256 bytes, "
"please check if this change is necessary.");
-_Static_assert(sizeof(struct ndpi_flow_struct) <= 976,
- "Size of the flow struct increased to more than 976 bytes, "
+_Static_assert(sizeof(struct ndpi_flow_struct) <= 1008,
+ "Size of the flow struct increased to more than 1008 bytes, "
"please check if this change is necessary.");
#endif
#endif