=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/netdb.h,v retrieving revision 1.31 retrieving revision 1.32 diff -c -r1.31 -r1.32 *** src/include/netdb.h 2012/09/15 00:47:08 1.31 --- src/include/netdb.h 2014/04/28 21:38:59 1.32 *************** *** 1,4 **** ! /* $OpenBSD: netdb.h,v 1.31 2012/09/15 00:47:08 guenther Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 --- 1,4 ---- ! /* $OpenBSD: netdb.h,v 1.32 2014/04/28 21:38:59 sperreault Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 *************** *** 167,175 **** #define AI_EXT 8 /* enable non-portable extensions */ #define AI_NUMERICSERV 16 /* don't ever try servname lookup */ #define AI_FQDN 32 /* return the FQDN that was resolved */ /* valid flags for addrinfo */ #define AI_MASK \ ! (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | AI_FQDN) #define NI_NUMERICHOST 1 /* return the host address, not the name */ #define NI_NUMERICSERV 2 /* return the service address, not the name */ --- 167,177 ---- #define AI_EXT 8 /* enable non-portable extensions */ #define AI_NUMERICSERV 16 /* don't ever try servname lookup */ #define AI_FQDN 32 /* return the FQDN that was resolved */ + #define AI_ADDRCONFIG 64 /* return configured address families only */ /* valid flags for addrinfo */ #define AI_MASK \ ! (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV | AI_FQDN | \ ! AI_ADDRCONFIG) #define NI_NUMERICHOST 1 /* return the host address, not the name */ #define NI_NUMERICSERV 2 /* return the service address, not the name */