summaryrefslogtreecommitdiffstats
path: root/include/netdb.h
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-12-19 19:57:28 +0000
committerngie <ngie@FreeBSD.org>2015-12-19 19:57:28 +0000
commitf8c5cd12c37a92500da3f42f1d25bae9cc70e30a (patch)
treeea8f2cb9e0c06c3875296365ec64f45267a791eb /include/netdb.h
parent490921132f201193a73d81699cb455aa2ae87357 (diff)
parent69774947bfffd5e16d26b60a82d880aa659abbf2 (diff)
downloadFreeBSD-src-f8c5cd12c37a92500da3f42f1d25bae9cc70e30a.zip
FreeBSD-src-f8c5cd12c37a92500da3f42f1d25bae9cc70e30a.tar.gz
MFhead @ r292474
Diffstat (limited to 'include/netdb.h')
-rw-r--r--include/netdb.h2
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 */
OpenPOWER on IntegriCloud