Fixed flow struct static assertion size check (this time with struct padding in mind).
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
@@ -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) <= 1014,
|
||||
"Size of the flow struct increased to more than 1014 bytes, "
|
||||
_Static_assert(sizeof(struct ndpi_flow_struct) <= 1016,
|
||||
"Size of the flow struct increased to more than 1016 bytes, "
|
||||
"please check if this change is necessary.");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user