Skip to content

Commit d1e42fc

Browse files
jukkarnashif
authored andcommitted
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 <[email protected]>
1 parent 8f49925 commit d1e42fc

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/posix/headers/src/netinet_in_h.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,8 @@ ZTEST(posix_headers, test_netinet_in_h)
6262
struct in6_addr mcg6 = { { { 0xff, 0x0e, 0, 0, 0, 0, 0, 0,
6363
0, 0, 0, 0, 0, 0, 0, 0x01 } } };
6464

65-
/* not implemented */
66-
/* zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_multiaddr)); */
67-
/* not implemented */
68-
/* zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_interface)); */
65+
zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_multiaddr));
66+
zassert_not_equal(-1, offsetof(struct ipv6_mreq, ipv6mr_ifindex));
6967

7068
zassert_not_equal(-1, IPPROTO_IP);
7169
zassert_not_equal(-1, IPPROTO_IPV6);

0 commit comments

Comments
 (0)