From d1e42fc147a6f216520c0b7949c22a405cff951a Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 8 Nov 2024 17:16:49 +0200 Subject: [PATCH] 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 --- tests/posix/headers/src/netinet_in_h.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/posix/headers/src/netinet_in_h.c b/tests/posix/headers/src/netinet_in_h.c index e3bd53cf1e6..25cceb6aa97 100644 --- a/tests/posix/headers/src/netinet_in_h.c +++ b/tests/posix/headers/src/netinet_in_h.c @@ -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);