Skip to content

Commit

Permalink
[tests] Adapt tests to armhf arch
Browse files Browse the repository at this point in the history
  • Loading branch information
kcudnik committed Aug 23, 2021
1 parent 36106e9 commit 518b93a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unittest/vslib/TestTrafficForwarder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ typedef union _control

} control;

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

TEST(TrafficForwarder, addVlanTag)
Expand Down

0 comments on commit 518b93a

Please sign in to comment.