mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-08 16:23:24 -04:00
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:
parent
d796a31945
commit
004ad29bb2
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue