diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-06-27 23:21:52 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-07-02 20:16:35 +0200 |
commit | 21749c4c2850dccd5ca8460f6c642bd12d5cb8c6 (patch) | |
tree | 16b6dd8be2532f62e5aefd5ae7f571083fb8291b /linux-user/syscall.c | |
parent | d2ba246cf3a216fefc786b3116063dddf2f32810 (diff) |
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>
Diffstat (limited to 'linux-user/syscall.c')
-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: |