]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFstable/10 r304982:
authorngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Aug 2016 07:46:23 +0000 (07:46 +0000)
committerngie <ngie@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 29 Aug 2016 07:46:23 +0000 (07:46 +0000)
commit5145c142a89695a7ecaa2d1a876aa4faef4f9ae2
tree5aa04df9d2f13f24210de0f6cb9e7f9ae17b9755
parent71338424c9a9c4683fbcd037d0f898ca657d79d9
MFstable/10 r304982:

MFstable/11 r304945:

MFC r304034:

Initialize `ai` to NULL and test for `ai` with type-appropriate values

Depending on the address family and ai_flags containing AI_V4MAPPED,
it might not do a proper DNS lookup on the provided DNS address

Convert some `ai` boolean true/false checks to NULL/non-NULL while here.

PR: 211790

git-svn-id: svn://svn.freebsd.org/base/stable/9@304990 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/net/getaddrinfo.c