diff options
author | Alexander Langer <alex@FreeBSD.org> | 2001-05-08 11:21:15 +0000 |
---|---|---|
committer | Alexander Langer <alex@FreeBSD.org> | 2001-05-08 11:21:15 +0000 |
commit | bda3261e9baf09f427daf06270a66f632daf08d9 (patch) | |
tree | f78453c662b4dc97af6b964e12c64aeef6b4e623 /lib/libc | |
parent | a47f98edb496dba1e4bf0750ef36964595a04ce5 (diff) | |
download | src-bda3261e9baf09f427daf06270a66f632daf08d9.tar.gz src-bda3261e9baf09f427daf06270a66f632daf08d9.zip |
gethostbyname2() can't do AF_INET6 lookups over NIS.
getaddrinfo(3) must be used.
Submitted by: ume
Notes
Notes:
svn path=/head/; revision=76369
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/gethostbyname.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 42c4e27d084f..0e5ba3827955 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -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. |