tests: posix: headers: net: Add test for ipv6_mreq
The "struct ipv6_mreq" is supported so enable the tests for it. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
This commit is contained in:
parent
8f49925a0f
commit
d1e42fc147
1 changed files with 2 additions and 4 deletions
|
@ -62,10 +62,8 @@ ZTEST(posix_headers, test_netinet_in_h)
|
|||
struct in6_addr mcg6 = { { { 0xff, 0x0e, 0, 0, 0, 0, 0, 0,
|
||||
0, 0, 0, 0, 0, 0, 0, 0x01 } } };
|
||||
|
||||
/* not implemented */
|
||||
/* zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_multiaddr)); */
|
||||
/* not implemented */
|
||||
/* zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_interface)); */
|
||||
zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_multiaddr));
|
||||
zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_ifindex));
|
||||
|
||||
zassert_not_equal(-1, IPPROTO_IP);
|
||||
zassert_not_equal(-1, IPPROTO_IPV6);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue