[7/8] webservices: Restrict connections to IPv4 for now.
Hans Leidekker
hans at codeweavers.com
Tue Jun 6 02:56:00 CDT 2017
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
---
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 af3978384a..764e002e50 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 );
--
2.11.0
More information about the wine-patches
mailing list