linux-user: update do_setsockopt()

add IPV6_MULTICAST_HOPS and IPV6_MULTICAST_LOOP that need
32bit value conversion

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180627212152.26525-3-laurent@vivier.eu>
This commit is contained in:
Laurent Vivier 2018-06-27 23:21:52 +02:00
parent d2ba246cf3
commit 21749c4c28
1 changed files with 2 additions and 0 deletions

View File

@ -3019,6 +3019,8 @@ static abi_long do_setsockopt(int sockfd, int level, int optname,
case IPV6_V6ONLY:
case IPV6_RECVPKTINFO:
case IPV6_UNICAST_HOPS:
case IPV6_MULTICAST_HOPS:
case IPV6_MULTICAST_LOOP:
case IPV6_RECVERR:
case IPV6_RECVHOPLIMIT:
case IPV6_2292HOPLIMIT: