File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -953,12 +953,12 @@ function lookupAndConnect(self, options) {
953953
954954 if ( dnsopts . family !== 4 && dnsopts . family !== 6 ) {
955955 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
957957 // returns EAI_BADFLAGS. However, it seems to be supported on most other
958958 // systems. See
959959 // http://lists.freebsd.org/pipermail/freebsd-bugs/2008-February/028260.html
960960 // for more information on the lack of support for FreeBSD.
961- if ( process . platform !== 'freebsd' )
961+ if ( process . platform !== 'freebsd' && process . platform !== 'android' )
962962 dnsopts . hints |= dns . V4MAPPED ;
963963 }
964964
You can’t perform that action at this time.
0 commit comments