Fixed flow struct static assertion size check.

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2024-04-04 12:36:42 +02:00
parent 9185c2ccc4
commit 6917acffda
+2 -2
View File
@@ -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