From: Ken Raeburn Date: Fri, 31 Aug 2001 03:25:54 +0000 (+0000) Subject: * socket-utils.h (struct krb5int_sockaddr_storage): Add some extra space X-Git-Tag: krb5-1.3-alpha1~1110 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=959a10006bf6de6b37047b36fb0492cc7a5355f1;p=krb5.git * socket-utils.h (struct krb5int_sockaddr_storage): Add some extra space git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13708 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 8ebf2f375..0f536e448 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,5 +1,8 @@ 2001-08-30 Ken Raeburn + * socket-utils.h (struct krb5int_sockaddr_storage): Add some extra + space. + * Makefile.in ($(srcdir)/krb5/autoconf.stmp): Since autoheader doesn't change the target file if the contents wouldn't be altered, touch an auxiliary timestamp file to avoid re-running diff --git a/src/include/socket-utils.h b/src/include/socket-utils.h index eeb47eb04..6213053f2 100644 --- a/src/include/socket-utils.h +++ b/src/include/socket-utils.h @@ -62,7 +62,11 @@ typedef int socklen_t; /* XXX should only be done if sockaddr_storage not found */ #ifndef KRB5_USE_INET6 -struct krb5int_sockaddr_storage { struct sockaddr_in s; }; +struct krb5int_sockaddr_storage { + struct sockaddr_in s; + /* Plenty of slop just in case we get an ipv6 address anyways. */ + long extra[16]; +}; #define sockaddr_storage krb5int_sockaddr_storage #endif