[PATCH] ws2_32: Ignore IPV6_PKTINFO instead of failing the request.
Julien Loir
mini.jul.jl at gmail.com
Sun Jul 25 12:43:37 CDT 2021
Some IPV6 requests will fail because of unhandled IPV6_PKTINFO, while most of them will successfully complete just by ignoring this optname.
Signed-off-by: Julien Loir <mini.jul.jl at gmail.com>
---
dlls/ws2_32/socket.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index 7fb48698d2a..030083c426a 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -3760,6 +3760,9 @@ int WINAPI WS_setsockopt(SOCKET s, int level, int optname,
case WS_IPV6_PROTECTION_LEVEL:
FIXME("IPV6_PROTECTION_LEVEL is ignored!\n");
return 0;
+ case WS_IPV6_PKTINFO:
+ FIXME("WS_IPV6_PKTINFO is ignored!\n");
+ return 0;
case WS_IPV6_V6ONLY:
{
union generic_unix_sockaddr uaddr;
--
2.32.0
More information about the wine-devel
mailing list