projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a78216
)
net_uv: fix localhost resolution - was defaulting to ::1 on OSX
author
Ryan Dahl
<ry@tinyclouds.org>
Thu, 14 Jul 2011 21:49:50 +0000
(14:49 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Thu, 14 Jul 2011 21:49:50 +0000
(14:49 -0700)
lib/dns_uv.js
patch
|
blob
|
history
diff --git
a/lib/dns_uv.js
b/lib/dns_uv.js
index
60562f8
..
587b9a8
100644
(file)
--- a/
lib/dns_uv.js
+++ b/
lib/dns_uv.js
@@
-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
;
}
}