From 8776ae316c3eaac861918446d2b327992a7aa9e2 Mon Sep 17 00:00:00 2001 From: Jukka Rissanen Date: Fri, 8 Nov 2024 15:47:33 +0200 Subject: [PATCH] tests: posix: headers: net: sin6_scope_id is supported The Posix documentation uses sin6_scope_id for scope id and we support that already. Signed-off-by: Jukka Rissanen --- tests/posix/headers/src/netinet_in_h.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/posix/headers/src/netinet_in_h.c b/tests/posix/headers/src/netinet_in_h.c index 78adfe6be82..cd96d5931ea 100644 --- a/tests/posix/headers/src/netinet_in_h.c +++ b/tests/posix/headers/src/netinet_in_h.c @@ -38,8 +38,7 @@ ZTEST(posix_headers, test_netinet_in_h) /* not implemented */ /* zassert_not_equal(-1, offsetof(struct sockaddr_in6, sin6_flowinfo)); */ zassert_not_equal(-1, offsetof(struct sockaddr_in6, sin6_addr)); - /* not implemented */ - /* zassert_not_equal(-1, offsetof(struct sockaddr_in6, scope_id)); */ + zassert_not_equal(-1, offsetof(struct sockaddr_in6, sin6_scope_id)); zassert_not_null(&in6addr_loopback); struct in6_addr any6 = IN6ADDR_ANY_INIT;