11 lines
340 B
Diff
11 lines
340 B
Diff
|
--- a/deps/uv/src/unix/getaddrinfo.c
|
||
|
+++ b/deps/uv/src/unix/getaddrinfo.c
|
||
|
@@ -99,6 +99,7 @@
|
||
|
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);
|
||
|
}
|