fix conditionals
authorKen Raeburn <raeburn@mit.edu>
Fri, 31 Aug 2001 05:03:10 +0000 (05:03 +0000)
committerKen Raeburn <raeburn@mit.edu>
Fri, 31 Aug 2001 05:03:10 +0000 (05:03 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13711 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/genaddrs.c

index d3ddf7e0ed4e9c6fafad283ddb86e10b10c077a8..961e79bd2188181d4d5de02d11226601fe3ffba6 100644 (file)
@@ -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)) {