]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
linux-user: update do_setsockopt()
authorLaurent Vivier <laurent@vivier.eu>
Wed, 27 Jun 2018 21:21:52 +0000 (23:21 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Mon, 2 Jul 2018 18:16:35 +0000 (20:16 +0200)
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>

linux-user/syscall.c

index 4460f1e39a07f4a6253d1b0969fcb062a33989b6..50e20fb659c8a77a107ed3d805dd40bd914b8ea7 100644 (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: