svn commit: r292446 - head/include
Hajimu UMEMOTO
ume at FreeBSD.org
Fri Dec 18 18:08:54 UTC 2015
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 */
More information about the svn-src-all
mailing list