From 004ad29bb226040a9b00ffbdaaa561b31b23c562 Mon Sep 17 00:00:00 2001 From: Olivier Houchard Date: Fri, 29 May 2026 16:17:36 +0200 Subject: [PATCH] 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. --- include/haproxy/quic_sock.h | 2 ++ 1 file changed, 2 insertions(+) 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: