Fixed flow struct static assertion size check.
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,
|
_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 256,
|
||||||
"Size of the struct member protocols increased to more than 256 bytes, "
|
"Size of the struct member protocols increased to more than 256 bytes, "
|
||||||
"please check if this change is necessary.");
|
"please check if this change is necessary.");
|
||||||
_Static_assert(sizeof(struct ndpi_flow_struct) <= 1008,
|
_Static_assert(sizeof(struct ndpi_flow_struct) <= 1014,
|
||||||
"Size of the flow struct increased to more than 1008 bytes, "
|
"Size of the flow struct increased to more than 1014 bytes, "
|
||||||
"please check if this change is necessary.");
|
"please check if this change is necessary.");
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user