From: Olivier Houchard Date: Fri, 29 May 2026 14:17:36 +0000 (+0200) Subject: MINOR: quic: Copy sin6_flowinfo and sin6_scope_id too X-Git-Tag: v3.4.0~50 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=004ad29bb226040a9b00ffbdaaa561b31b23c562;p=thirdparty%2Fhaproxy.git 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. --- diff --git a/include/haproxy/quic_sock.h b/include/haproxy/quic_sock.h index 8ffe0bafb..7940e240a 100644 --- a/include/haproxy/quic_sock.h +++ b/include/haproxy/quic_sock.h @@ -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: