Bug 298

Summary: getaddrinfo doesn't support AI_NUMERICSERV
Product: glibc Reporter: David L Stevens <dlstevens>
Component: libcAssignee: GOTO Masanori <gotom>
Status: RESOLVED DUPLICATE    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: 2.3.3   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description David L Stevens 2004-08-04 22:45:32 UTC
RFC 3493 specifies flag "AI_NUMERICSERV", analogous to AI_NUMERICHOST, for
the ai_flags field of hints:

"If the AI_NUMERICSERV flag is specified, then a non-null servname
string supplied shall be a numeric port string. Otherwise, an
[EAI_NONAME] error shall be returned. This flag shall prevent any
type of name resolution service (for example, NIS+) from being
invoked."

netdb.h doesn't defined AI_NUMERICSERV and getaddrinfo() doesn't implement it.
Comment 1 Jakub Jelinek 2004-08-05 16:11:43 UTC

*** This bug has been marked as a duplicate of 296 ***