diff options
author | Laurent Vivier | 2018-06-27 23:21:52 +0200 |
---|---|---|
committer | Laurent Vivier | 2018-07-02 20:16:35 +0200 |
commit | 21749c4c2850dccd5ca8460f6c642bd12d5cb8c6 (patch) | |
tree | 16b6dd8be2532f62e5aefd5ae7f571083fb8291b | |
parent | linux-user: add netlink CARRIER_UP_COUNT/CARRIER_DOWN_COUNT (diff) | |
download | qemu-21749c4c2850dccd5ca8460f6c642bd12d5cb8c6.tar.gz qemu-21749c4c2850dccd5ca8460f6c642bd12d5cb8c6.tar.xz qemu-21749c4c2850dccd5ca8460f6c642bd12d5cb8c6.zip |
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>
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 4460f1e39a..50e20fb659 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -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: |