MINOR: quic: Copy sin6_flowinfo and sin6_scope_id too

In in46un_to_addr(), when copying a struct sockaddr_in6, copy the
sin6_flowinfo and sin6_scope_id, as they are part of the structure too.
They are unlikely to be of any use for us, but this is more correct
anyway.
This commit is contained in:
Olivier Houchard 2026-05-29 16:17:36 +02:00 committed by Olivier Houchard
parent d796a31945
commit 004ad29bb2

View file

@ -135,6 +135,8 @@ static inline void in46un_to_addr(const union sockaddr_in46 *src,
in6->sin6_family = AF_INET6;
in6->sin6_addr = src->in6.sin6_addr;
in6->sin6_port = src->in6.sin6_port;
in6->sin6_flowinfo = src->in6.sin6_flowinfo;
in6->sin6_scope_id = src->in6.sin6_scope_id;
break;
default: