This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug network/14415] AI_V4MAPPED is useless with AI_UNSPEC but they're used together as defaults when hints=NULL


http://sourceware.org/bugzilla/show_bug.cgi?id=14415

Carlos O'Donell <carlos_odonell at mentor dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
                 CC|                            |carlos_odonell at mentor
                   |                            |dot com

--- Comment #1 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-08-03 04:03:51 UTC ---
My understanding is that because the default uses AF_UNSPEC that the caller
accepts *any* address family thus AI_V4MAPPED is not useless because AF_UNSPEC
can be treated as anything including AF_INET6.

Does that clarify why we would set AI_V4MAPPED in the default?

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]