We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42ed1e9 commit 0b122d0Copy full SHA for 0b122d0
1 file changed
lib/dns.js
@@ -127,11 +127,6 @@ exports.lookup = function lookup(hostname, options, callback) {
127
hints !== (exports.ADDRCONFIG | exports.V4MAPPED)) {
128
throw new TypeError('invalid argument: hints must use valid flags');
129
}
130
-
131
- // FIXME(indutny): V4MAPPED on FreeBSD results in EAI_BADFLAGS, because
132
- // the libc does not support it
133
- if (process.platform === 'freebsd' && family !== 6)
134
- hints &= ~exports.V4MAPPED;
135
} else {
136
family = options >>> 0;
137
0 commit comments