diff options
author | ume <ume@FreeBSD.org> | 2015-12-25 11:17:21 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2015-12-25 11:17:21 +0000 |
commit | 55621219f54a49a3877e8da2ae39078ed442909f (patch) | |
tree | 4fae6957848e34a9978725bc4fd58583879faf43 /include | |
parent | 8feffa60ae68c48c771c3384447148f6102f0010 (diff) | |
download | FreeBSD-src-55621219f54a49a3877e8da2ae39078ed442909f.zip FreeBSD-src-55621219f54a49a3877e8da2ae39078ed442909f.tar.gz |
Add AI_V4MAPPED and AI_ALL support for getaddrinfo(3).
PR: 198092
Diffstat (limited to 'include')
-rw-r--r-- | include/netdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/netdb.h b/include/netdb.h index 9ed6e61..102567f 100644 --- a/include/netdb.h +++ b/include/netdb.h @@ -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 */ |