We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36106e9 commit 518b93aCopy full SHA for 518b93a
unittest/vslib/TestTrafficForwarder.cpp
@@ -13,7 +13,7 @@ typedef union _control
13
14
} control;
15
16
-static_assert(sizeof(cmsghdr) == 16, "header must be 8 bytes");
+static_assert(sizeof(cmsghdr) >= 8, "header must be at leasts 8 bytes");
17
static_assert(sizeof(control) >= (sizeof(cmsghdr) + sizeof(tpacket_auxdata)), "control must at least include both");
18
19
TEST(TrafficForwarder, addVlanTag)
0 commit comments