From e2a2e8c7e010a3606724014fc2ada010259b1cb2 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Sat, 6 Jan 2001 12:48:43 +0000 Subject: [PATCH] gethostbyname2() is able to lookup AF_INET6. PR: 23823 Noticed by: Andrew Arensburger --- lib/libc/net/gethostbyname.3 | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/libc/net/gethostbyname.3 b/lib/libc/net/gethostbyname.3 index 0e2006e4270..c26e2605c52 100644 --- a/lib/libc/net/gethostbyname.3 +++ b/lib/libc/net/gethostbyname.3 @@ -140,16 +140,6 @@ which is intended to allow lookups in address families other than .Dv AF_INET , for example .Dv AF_INET6 . -Currently the -.Fa af -argument must be specified as -.Dv AF_INET -else the function will return -.Dv NULL -after having set -.Va h_errno -to -.Dv NETDB_INTERNAL .Pp The .Fn sethostent