gethostbyname2() is able to lookup AF_INET6.
PR: 23823 Noticed by: Andrew Arensburger <arensb@ooblick.com>
This commit is contained in:
parent
cbfa684843
commit
e2a2e8c7e0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user