Merge pull request #2256 from llyzs/llyzs

libfreerdp-core: enable ipv6 listener.
This commit is contained in:
Norbert Federa 2014-12-05 16:06:23 +01:00
commit 3baaa9a523
1 changed files with 0 additions and 3 deletions

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)