Skip to content

Commit 518b93a

Browse files
committed
[tests] Adapt tests to armhf arch
1 parent 36106e9 commit 518b93a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittest/vslib/TestTrafficForwarder.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ typedef union _control
1313

1414
} control;
1515

16-
static_assert(sizeof(cmsghdr) == 16, "header must be 8 bytes");
16+
static_assert(sizeof(cmsghdr) >= 8, "header must be at leasts 8 bytes");
1717
static_assert(sizeof(control) >= (sizeof(cmsghdr) + sizeof(tpacket_auxdata)), "control must at least include both");
1818

1919
TEST(TrafficForwarder, addVlanTag)

0 commit comments

Comments
 (0)