From bcee2ec3cd20f767ce1a6202ad0cac14eeec7994 Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Fri, 5 Dec 2014 10:06:35 +0800 Subject: [PATCH] libfreerdp-core: enable ipv6 listener. --- libfreerdp/core/listener.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libfreerdp/core/listener.c b/libfreerdp/core/listener.c index 5920a9bbf..b13e86549 100644 --- a/libfreerdp/core/listener.c +++ b/libfreerdp/core/listener.c @@ -132,9 +132,6 @@ static BOOL freerdp_listener_open(freerdp_listener* instance, const char* bind_a inet_ntop(ai->ai_family, sin_addr, addr, sizeof(addr)); - if (strcmp(addr, "::") == 0) - continue; - option_value = 1; if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, (void*) &option_value, sizeof(option_value)) == -1)