From: Ken Raeburn Date: Fri, 31 Aug 2001 05:03:10 +0000 (+0000) Subject: fix conditionals X-Git-Tag: krb5-1.3-alpha1~1107 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b36e716a6270bc9e39e7d7bc162276fb90dea0c9;p=krb5.git fix conditionals git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13711 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/genaddrs.c b/src/lib/krb5/os/genaddrs.c index d3ddf7e0e..961e79bd2 100644 --- a/src/lib/krb5/os/genaddrs.c +++ b/src/lib/krb5/os/genaddrs.c @@ -64,7 +64,7 @@ static void *cvtaddr (struct sockaddr_storage *a, struct addrpair *ap) SET (ap->port, ss2sin(a)->sin_port, ADDRTYPE_IPPORT); SET (ap->addr, ss2sin(a)->sin_addr, ADDRTYPE_INET); return a; -#ifdef AF_INET6 +#ifdef KRB5_USE_INET6 case AF_INET6: SET (ap->port, ss2sin6(a)->sin6_port, ADDRTYPE_IPPORT); if (IN6_IS_ADDR_V4MAPPED (&ss2sin6(a)->sin6_addr)) {