aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-04-04 12:36:42 +0200
committerToni Uhlig <matzeton@googlemail.com>2024-04-04 12:36:42 +0200
commit6917acffda2ac2b3d5ded8b821b6d4a564e40e09 (patch)
tree2ded7d0e747b7fba41a40a7860289d1eac6d4e47
parent9185c2ccc402d3368fc28ac90ab281b4f951719e (diff)
Fixed flow struct static assertion size check.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
-rw-r--r--src/include/ndpi_typedefs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h
index 935debb74..bb340e4bc 100644
--- a/src/include/ndpi_typedefs.h
+++ b/src/include/ndpi_typedefs.h
@@ -1507,8 +1507,8 @@ struct ndpi_flow_struct {
_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) <= 1008,
- "Size of the flow struct increased to more than 1008 bytes, "
+_Static_assert(sizeof(struct ndpi_flow_struct) <= 1014,
+ "Size of the flow struct increased to more than 1014 bytes, "
"please check if this change is necessary.");
#endif
#endif