Date: Fri, 18 Dec 2015 18:08:53 +0000 (UTC) From: Hajimu UMEMOTO <ume@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r292446 - head/include Message-ID: <201512181808.tBII8rMj073279@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ume Date: Fri Dec 18 18:08:53 2015 New Revision: 292446 URL: https://svnweb.freebsd.org/changeset/base/292446 Log: Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3). We need to change netdb.h to make it actually enabled. PR: 198092 MFC after: 1 week Modified: head/include/netdb.h Modified: head/include/netdb.h ============================================================================== --- head/include/netdb.h Fri Dec 18 17:57:31 2015 (r292445) +++ head/include/netdb.h Fri Dec 18 18:08:53 2015 (r292446) @@ -179,7 +179,7 @@ struct addrinfo { /* valid flags for addrinfo (not a standard def, apps should not use it) */ #define AI_MASK \ (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | \ - AI_ADDRCONFIG) + AI_ADDRCONFIG | AI_ALL | AI_V4MAPPED) #define AI_ALL 0x00000100 /* IPv6 and IPv4-mapped (with AI_V4MAPPED) */ #define AI_V4MAPPED_CFG 0x00000200 /* accept IPv4-mapped if kernel supports */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512181808.tBII8rMj073279>