Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SOLVED] dns.js not recognize family. Is always undefined. #4312

Closed
lags opened this issue Dec 16, 2015 · 1 comment
Closed

[SOLVED] dns.js not recognize family. Is always undefined. #4312

lags opened this issue Dec 16, 2015 · 1 comment
Labels
dns Issues and PRs related to the dns subsystem. duplicate Issues and PRs that are duplicates of other issues or PRs.

Comments

@lags
Copy link

lags commented Dec 16, 2015

In ref at nodejs/node-v0.x-archive#25933 i have solved my problem apply this patch:

--- 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);
 }

I hope this patch help somebody else that have this problem with arm board

@lags lags closed this as completed Dec 16, 2015
@ChALkeR ChALkeR added dns Issues and PRs related to the dns subsystem. duplicate Issues and PRs that are duplicates of other issues or PRs. labels Dec 17, 2015
@ChALkeR
Copy link
Member

ChALkeR commented Dec 17, 2015

Duplicate of #3771.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dns Issues and PRs related to the dns subsystem. duplicate Issues and PRs that are duplicates of other issues or PRs.
Projects
None yet
Development

No branches or pull requests

2 participants