mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
net_uv: fix localhost resolution - was defaulting to ::1 on OSX
This commit is contained in:
1 parent
7a782164b9
commit
6d8b082eed
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ function familyToSym(family) {
|
||||
switch (family) {
|
||||
case 4: return cares.AF_INET;
|
||||
case 6: return cares.AF_INET6;
|
||||
default: return cares.AF_UNSPEC;
|
||||
default: return cares.AF_INET;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user