Merge pull request #2256 from llyzs/llyzs
libfreerdp-core: enable ipv6 listener.
This commit is contained in:
commit
3baaa9a523
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user