-See https://github.com/joyent/node/issues/8540
+See https://github.com/nodejs/node-v0.x-archive/issues/8540
-diff -u -r ../node-v0.12.3/lib/net.js ./lib/net.js
---- ../node-v0.12.3/lib/net.js 2015-05-13 20:30:45.000000000 -0400
-+++ ./lib/net.js 2015-05-22 13:09:34.630948530 -0400
-@@ -926,7 +926,7 @@
- // and
- // https://svnweb.freebsd.org/base/head/lib/libc/net/getaddrinfo.c?r1=172052&r2=175955
- // for more information on the lack of support for FreeBSD.
-- if (process.platform !== 'freebsd')
-+ if (process.platform !== 'freebsd' && process.platform !== 'android')
- dnsopts.hints |= dns.V4MAPPED;
- }
+diff -u -r ../node-v4.0.0/lib/net.js ./lib/net.js
+--- ../node-v4.0.0/lib/net.js 2015-09-08 11:30:45.000000000 -0400
++++ ./lib/net.js 2015-09-08 17:37:04.293684663 -0400
+@@ -951,7 +951,7 @@
+ // systems. See
+ // http://lists.freebsd.org/pipermail/freebsd-bugs/2008-February/028260.html
+ // for more information on the lack of support for FreeBSD.
+- if (process.platform !== 'freebsd')
++ if (process.platform !== 'freebsd' && process.platform !== 'android')
+ dnsopts.hints |= dns.V4MAPPED;
+ }