File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -953,12 +953,12 @@ function lookupAndConnect(self, options) {
953
953
954
954
if ( dnsopts . family !== 4 && dnsopts . family !== 6 ) {
955
955
dnsopts . hints = dns . ADDRCONFIG ;
956
- // The AI_V4MAPPED hint is not supported on FreeBSD, and getaddrinfo
956
+ // The AI_V4MAPPED hint is not supported on FreeBSD or Android , and getaddrinfo
957
957
// returns EAI_BADFLAGS. However, it seems to be supported on most other
958
958
// systems. See
959
959
// http://lists.freebsd.org/pipermail/freebsd-bugs/2008-February/028260.html
960
960
// for more information on the lack of support for FreeBSD.
961
- if ( process . platform !== 'freebsd' )
961
+ if ( process . platform !== 'freebsd' && process . platform !== 'android' )
962
962
dnsopts . hints |= dns . V4MAPPED ;
963
963
}
964
964
You can’t perform that action at this time.
0 commit comments