| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 26f0240 commit 8ed0c1c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -951,12 +951,12 @@ function lookupAndConnect(self, options) { | |||
| 951 | 951 | ||
| 952 | 952 | if (dnsopts.family !== 4 && dnsopts.family !== 6) { | |
| 953 | 953 | dnsopts.hints = dns.ADDRCONFIG; | |
| 954 | - // The AI_V4MAPPED hint is not supported on FreeBSD, and getaddrinfo | ||
| 954 | + // The AI_V4MAPPED hint is not supported on FreeBSD or Android, and getaddrinfo | ||
| 955 | 955 | // returns EAI_BADFLAGS. However, it seems to be supported on most other | |
| 956 | 956 | // systems. See | |
| 957 | 957 | // http://lists.freebsd.org/pipermail/freebsd-bugs/2008-February/028260.html | |
| 958 | 958 | // for more information on the lack of support for FreeBSD. | |
| 959 | - if (process.platform !== 'freebsd') | ||
| 959 | + if (process.platform !== 'freebsd' && process.platform !== 'android') | ||
| 960 | 960 | dnsopts.hints |= dns.V4MAPPED; | |
| 961 | 961 | } | |
| 962 | 962 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments