NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/42384: getaddrinfo(3) says PF_UNSPEC when it really means AF_UNSPEC
>Number: 42384
>Category: lib
>Synopsis: getaddrinfo(3) says PF_UNSPEC when it really means AF_UNSPEC
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 27 20:15:00 +0000 2009
>Originator: Kate
>Release: 5.0.1
>Organization:
>Environment:
NetBSD clarion 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 01:39:11 UTC 2009
builds%b8.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-1-RELEASE/i386/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC
i386
>Description:
getaddrinfo(3):
ai_family The protocol family that should be used. When ai_family
is set to PF_UNSPEC, it means the caller will accept any
protocol family supported by the operating system.
Even though the two constants happen to share the same value, I believe this
ought to be AF_UNSPEC and "address family" and not PF_UNSPEC and "protocol
family". SUS3 agrees.
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index