summaryrefslogtreecommitdiff
path: root/node/patches/002-addr_info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'node/patches/002-addr_info.patch')
-rw-r--r--node/patches/002-addr_info.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/node/patches/002-addr_info.patch b/node/patches/002-addr_info.patch
new file mode 100644
index 0000000..0aa02da
--- /dev/null
+++ b/node/patches/002-addr_info.patch
@@ -0,0 +1,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);
+ }