mirror of https://github.com/nodejs/node.git
net_uv: fix localhost resolution - was defaulting to ::1 on OSX
parent
7a782164b9
commit
6d8b082eed
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue