mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
gethostbyname2() can't do AF_INET6 lookups over NIS.
getaddrinfo(3) must be used. Submitted by: ume
This commit is contained in:
parent
a47f98edb4
commit
bda3261e9b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76369
@ -357,3 +357,10 @@ if the data is needed for future use, it should be
|
||||
copied before any subsequent calls overwrite it.
|
||||
Only the Internet
|
||||
address format is currently understood.
|
||||
.Pp
|
||||
.Fn gethostbyname2
|
||||
cannot perform
|
||||
.Dv AF_INET6
|
||||
lookups over NIS.
|
||||
.Xr getaddrinfo 3
|
||||
must be used instead.
|
||||
|
Loading…
Reference in New Issue
Block a user