From 3ac0656b4e2a4356191ef5a2581139dc4fe067f8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 2 Nov 1999 15:18:22 +0000 Subject: [PATCH] * localaddr.c (krb5_os_localaddr): Conditionalize INET6 support on new KRB5_USE_INET6 macro. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11895 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/os/ChangeLog | 5 +++++ src/lib/krb5/os/localaddr.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index c15ccfa85..11af1db4e 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +1999-11-02 Ken Raeburn + + * localaddr.c (krb5_os_localaddr): Conditionalize INET6 support on + new KRB5_USE_INET6 macro. + 1999-10-26 Tom Yu * Makefile.in: Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, diff --git a/src/lib/krb5/os/localaddr.c b/src/lib/krb5/os/localaddr.c index a73ba2533..96a25bf00 100644 --- a/src/lib/krb5/os/localaddr.c +++ b/src/lib/krb5/os/localaddr.c @@ -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 -- 2.26.2