ws2_32: Map IPPROTO_IPV6 protocol option

Bruno Jesus 00cpxxx at gmail.com
Wed Jul 29 12:48:30 CDT 2015


Silences the issue:
fixme:winsock:convert_proto_
w2u unhandled Windows socket protocol 41

This define is already used without #ifdef so I think it's safe [1].

[1] http://source.winehq.org/git/wine.git/blob/HEAD:/dlls/ws2_32/socket.c#l1230
-------------- next part --------------
diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c
index d7e5276..b06d7e7 100644
--- a/dlls/ws2_32/socket.c
+++ b/dlls/ws2_32/socket.c
@@ -687,6 +687,7 @@ static const int ws_proto_map[][2] =
     MAP_OPTION( IPPROTO_IP ),
     MAP_OPTION( IPPROTO_TCP ),
     MAP_OPTION( IPPROTO_UDP ),
+    MAP_OPTION( IPPROTO_IPV6 ),
     MAP_OPTION( IPPROTO_ICMP ),
     MAP_OPTION( IPPROTO_IGMP ),
     MAP_OPTION( IPPROTO_RAW ),


More information about the wine-patches mailing list