NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/43026: getaddrinfo() documentation doesn't match implementation



>Number:         43026
>Category:       lib
>Synopsis:       getaddrinfo() documentation doesn't match implementation
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 21 00:30:01 +0000 2010
>Originator:     Emiliano Gavilan
>Release:        5.99.24
>Organization:
>Environment:
>Description:
The getaddrinfo(3) man page says

"The getaddrinfo() function is defined by the IEEE Std 1003.1g-2000
(``POSIX.1'') draft specification and documented in RFC 3493"

However, the current implementation only supports 4 flags for the ai_flags 
field of the addrinfo struct (AI_CANONNAME, AI_NUMERICHOST, AI_NUMERICSERV and 
AI_PASSIVE), while the RFC 3493 list two additional flags (AI_V4MAPPED and 
AI_ADDRCONFIG).
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index