Skip to content
Snippets Groups Projects
Commit 44cf6731 authored by Mathis Marion's avatar Mathis Marion Committed by Laurent Vivier
Browse files

linux-user: fix sockaddr_in6 endianness


The sin6_scope_id field uses the host byte order, so there is a
conversion to be made when host and target endianness differ.

Signed-off-by: default avatarMathis Marion <mathis.marion@silabs.com>
Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20230307154256.101528-2-Mathis.Marion@silabs.com>
Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
parent dae81a08
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment