diff options
author | alex <alex@FreeBSD.org> | 2001-05-08 11:21:15 +0000 |
---|---|---|
committer | alex <alex@FreeBSD.org> | 2001-05-08 11:21:15 +0000 |
commit | ebaec1dfe06f27da691611d6a198f5289db92d0c (patch) | |
tree | 5557e77e3ec4bf3b646d52e94b4429908eb6a1cd /lib/libc | |
parent | fd84041b002957f6614cb50c4a67060c64e1c99a (diff) | |
download | FreeBSD-src-ebaec1dfe06f27da691611d6a198f5289db92d0c.zip FreeBSD-src-ebaec1dfe06f27da691611d6a198f5289db92d0c.tar.gz |
gethostbyname2() can't do AF_INET6 lookups over NIS.
getaddrinfo(3) must be used.
Submitted by: ume
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 42c4e27..0e5ba38 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. |