net: do not set V4MAPPED on FreeBSD · nodejs/node@a2ac312 · GitHub
Skip to content

Commit a2ac312

Browse files
Julien Gillirvagg
authored andcommitted
net: do not set V4MAPPED on FreeBSD
V4MAPPED is not supported on recent FreeBSD versions, at least on 10.1. Thus, do not set this flag in net.connect on FreeBSD. Fixes: nodejs/node-v0.x-archive#8540 Fixes: nodejs/node-v0.x-archive#9204 PR-URL: nodejs/node-v0.x-archive#18204 PR-URL: #1555 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
1 parent 0b122d0 commit a2ac312

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

doc/api/dns.markdown

Lines changed: 3 additions & 2 deletions

lib/net.js

Lines changed: 10 additions & 2 deletions

0 commit comments

Comments
 (0)