net_uv: fix localhost resolution - was defaulting to ::1 on OSX

v0.7.4-release
Ryan Dahl 2011-07-14 14:49:50 -07:00
parent 7a782164b9
commit 6d8b082eed
1 changed files with 1 additions and 1 deletions

View File

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