From ba17382f778ee58830d762a7da3f7c8b82a36324 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Fri, 31 Aug 2001 05:49:24 +0000 Subject: [PATCH] separate sockaddr_storage support from ipv6 support git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13714 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 6 ++++++ src/include/socket-utils.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 0f536e448..dbcd61e7a 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,9 @@ +2001-08-31 Ken Raeburn + + * socket-utils.h (struct krb5int_sockaddr_storage, + sockaddr_storage): Conditionalize on HAVE_STRUCT_SOCKADDR_STORAGE + instead of KRB5_USE_INET6. + 2001-08-30 Ken Raeburn * socket-utils.h (struct krb5int_sockaddr_storage): Add some extra diff --git a/src/include/socket-utils.h b/src/include/socket-utils.h index 6213053f2..870fbc672 100644 --- a/src/include/socket-utils.h +++ b/src/include/socket-utils.h @@ -50,7 +50,7 @@ Do NOT install this file. */ -/* for HAVE_SOCKLEN_T, KRB5_USE_INET6, HAVE_SA_LEN */ +/* for HAVE_SOCKLEN_T, KRB5_USE_INET6, etc */ #include "krb5/autoconf.h" /* Either size_t or int or unsigned int is probably right. Under @@ -61,7 +61,7 @@ typedef int socklen_t; #endif /* XXX should only be done if sockaddr_storage not found */ -#ifndef KRB5_USE_INET6 +#ifndef HAVE_STRUCT_SOCKADDR_STORAGE struct krb5int_sockaddr_storage { struct sockaddr_in s; /* Plenty of slop just in case we get an ipv6 address anyways. */ -- 2.26.2