docs/59669: gethostbyname2() man-page states that only AF_INET is supported (-STABLE)

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Tue Nov 25 08:20:18 UTC 2003


>Number:         59669
>Category:       docs
>Synopsis:       gethostbyname2() man-page states that only AF_INET is supported (-STABLE)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 25 00:20:12 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Volker Stolz
>Release:        FreeBSD 4.9-RC i386
>Organization:
Lehrstuhl für Informatik II
>Environment:
System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-RC FreeBSD 4.9-RC #10: Tue Oct 7 12:32:25 CEST 2003 root at menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386


>Description:
The man page states that:
"     The gethostbyname2() function is an evolution of gethostbyname() which is
     intended to allow lookups in address families other than AF_INET, for
     example AF_INET6.  Currently the af argument must be specified as AF_INET
     else the function will return NULL after having set h_errno to
     NETDB_INTERNAL.
"

However, passing AF_INET6 works fine these days.
>How-To-Repeat:
>Fix:
Drop the "Currently..." part.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list