From b45879986379c39c3f8d382e01347d0151304540 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Tue, 6 Jun 2017 09:56:00 +0200 Subject: [PATCH] webservices: Restrict connections to IPv4 for now. Signed-off-by: Hans Leidekker Signed-off-by: Alexandre Julliard --- 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 af3978384a3..764e002e50f 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 );