Hans Leidekker : webservices: Restrict connections to IPv4 for now.

Alexandre Julliard julliard at winehq.org
Tue Jun 6 15:23:29 CDT 2017


Module: wine
Branch: master
Commit: b45879986379c39c3f8d382e01347d0151304540
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b45879986379c39c3f8d382e01347d0151304540

Author: Hans Leidekker <hans at codeweavers.com>
Date:   Tue Jun  6 09:56:00 2017 +0200

webservices: Restrict connections to IPv4 for now.

Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/webservices/listener.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/webservices/listener.c b/dlls/webservices/listener.c
index af39783..764e002 100644
--- a/dlls/webservices/listener.c
+++ b/dlls/webservices/listener.c
@@ -268,7 +268,7 @@ HRESULT resolve_hostname( const WCHAR *host, USHORT port, struct sockaddr *addr,
     if (GetAddrInfoW( host, service, NULL, &res )) return HRESULT_FROM_WIN32( WSAGetLastError() );
 
     info = res;
-    while (info && info->ai_family != AF_INET && info->ai_family != AF_INET6) info = info->ai_next;
+    while (info && info->ai_family != AF_INET) info = info->ai_next;
     if (info)
     {
         memcpy( addr, info->ai_addr, info->ai_addrlen );




More information about the wine-cvs mailing list