Deleted Added
full compact
2c2
< * Copyright (c) 1999-2001, 2004, 2010 Sendmail, Inc. and its suppliers.
---
> * Copyright (c) 1999-2001, 2004, 2010, 2013 Sendmail, Inc. and its suppliers.
12c12
< SM_RCSID("@(#)$Id: sm_gethost.c,v 8.29 2010/07/27 01:09:31 ca Exp $")
---
> SM_RCSID("@(#)$Id: sm_gethost.c,v 8.30 2013/02/22 22:43:33 gshapiro Exp $")
104c104,109
< int flags = AI_DEFAULT|AI_ALL;
---
> # ifndef SM_IPNODEBYNAME_FLAGS
> /* For IPv4-mapped addresses, use: AI_DEFAULT|AI_ALL */
> # define SM_IPNODEBYNAME_FLAGS AI_ADDRCONFIG
> # endif /* SM_IPNODEBYNAME_FLAGS */
>
> int flags = SM_IPNODEBYNAME_FLAGS;