* localaddr.c (krb5_os_localaddr): Conditionalize INET6 support on new
authorKen Raeburn <raeburn@mit.edu>
Tue, 2 Nov 1999 15:18:22 +0000 (15:18 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 2 Nov 1999 15:18:22 +0000 (15:18 +0000)
KRB5_USE_INET6 macro.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11895 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/localaddr.c

index c15ccfa8596da50922fa3b8085227f96930744b5..11af1db4e5c737f0b44ccb67ef11dcb0fa316147 100644 (file)
@@ -1,3 +1,8 @@
+1999-11-02  Ken Raeburn  <raeburn@mit.edu>
+
+       * localaddr.c (krb5_os_localaddr): Conditionalize INET6 support on
+       new KRB5_USE_INET6 macro.
+
 1999-10-26  Tom Yu  <tlyu@mit.edu>
 
        * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES,
index a73ba2533d5c0d91e6854d67c6c3cf0e3ca06c04..96a25bf007225e755cc429f9ea9c72d6ecda49ba 100644 (file)
@@ -181,7 +181,7 @@ n_found = 0;
                    }
                } else mem_err++;
            }
-#ifdef AF_INET6
+#ifdef KRB5_USE_INET6
        case AF_INET6:
            {
                struct sockaddr_in6 *in =
@@ -209,7 +209,7 @@ n_found = 0;
                    }
                } else mem_err++;
            }
-#endif /* AF_INET6 */
+#endif /* KRB5_USE_INET6 */
 #endif /* netinet/in.h */
 
 #ifdef KRB5_USE_NS