summaryrefslogtreecommitdiff
path: root/node/patches/002-addr_info.patch
blob: 0aa02dac231eee5ed15aff9710aa0d40990b3a60 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/deps/uv/src/unix/getaddrinfo.c
+++ b/deps/uv/src/unix/getaddrinfo.c
@@ -99,6 +99,7 @@ static void uv__getaddrinfo_work(struct
   int err;
 
   req = container_of(w, uv_getaddrinfo_t, work_req);
+   req->hints->ai_flags &= ~AI_V4MAPPED;
   err = getaddrinfo(req->hostname, req->service, req->hints, &req->addrinfo);
   req->retcode = uv__getaddrinfo_translate_error(err);
 }