mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 0 additions and 10 deletions
|
|
@ -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 a new issue