=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/netdb.h,v retrieving revision 1.27 retrieving revision 1.28 diff -c -r1.27 -r1.28 *** src/include/netdb.h 2009/06/02 16:47:50 1.27 --- src/include/netdb.h 2011/04/05 00:46:06 1.28 *************** *** 1,4 **** ! /* $OpenBSD: netdb.h,v 1.27 2009/06/02 16:47:50 jasper Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 --- 1,4 ---- ! /* $OpenBSD: netdb.h,v 1.28 2011/04/05 00:46:06 matthew Exp $ */ /* * ++Copyright++ 1980, 1983, 1988, 1993 *************** *** 155,163 **** #define AI_NUMERICHOST 4 /* don't ever try hostname lookup */ #define AI_EXT 8 /* enable non-portable extensions */ #define AI_NUMERICSERV 16 /* don't ever try servname lookup */ /* valid flags for addrinfo */ #define AI_MASK \ ! (AI_PASSIVE | AI_CANONNAME | AI_NUMERICHOST | AI_NUMERICSERV) #define NI_NUMERICHOST 1 /* return the host address, not the name */ #define NI_NUMERICSERV 2 /* return the service address, not the name */ --- 155,164 ---- #define AI_NUMERICHOST 4 /* don't ever try hostname lookup */ #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 */