mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-22 05:48:40 +01:00
Only use IPv4/IPv6 when we can use them
This commit is contained in:
parent
a87d3af309
commit
81022ee8c7
@ -88,7 +88,7 @@ static void lookup_and_connect(void)
|
||||
|
||||
memset(&hints, 0, sizeof(hints));
|
||||
hints.ai_family = AF_UNSPEC;
|
||||
hints.ai_flags = 0;
|
||||
hints.ai_flags = EVUTIL_AI_ADDRCONFIG;
|
||||
hints.ai_socktype = SOCK_STREAM;
|
||||
hints.ai_protocol = IPPROTO_TCP;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user