libfreerdp-core: enable ipv6 listener.

This commit is contained in:
Vic Lee 2014-12-05 10:06:35 +08:00
parent 36f0281ff8
commit bcee2ec3cd

View File

@ -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)