From: Tom Yu Date: Wed, 19 Jul 1995 21:20:04 +0000 (+0000) Subject: * localaddr.c: fix definition of ifreq_size so it actually works X-Git-Tag: krb5-1.0-beta6~1504 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7bcccff8a14a2975a2189dc1eec25bd945d6d64d;p=krb5.git * localaddr.c: fix definition of ifreq_size so it actually works git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6315 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/os/ChangeLog b/src/lib/crypto/os/ChangeLog index 5dcc23044..c155a075a 100644 --- a/src/lib/crypto/os/ChangeLog +++ b/src/lib/crypto/os/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 19 17:17:54 1995 Tom Yu + + * localaddr.c: fix definition of ifreq_size so it actually works + Mon Jul 17 16:04:00 1995 Sam Hartman * localaddr.c (krb5_crypto_os_localaddr): Deal with variable sized diff --git a/src/lib/crypto/os/localaddr.c b/src/lib/crypto/os/localaddr.c index ddf58181e..842bf9a83 100644 --- a/src/lib/crypto/os/localaddr.c +++ b/src/lib/crypto/os/localaddr.c @@ -81,7 +81,7 @@ */ #ifdef HAVE_SA_LEN #define ifreq_size(i) max(sizeof(struct ifreq),\ - sizeof(i.ifr_name)+i.ifr_addr.sa_len) + sizeof((i).ifr_name)+(i).ifr_addr.sa_len) #else #define ifreq_size(i) sizeof(struct ifreq) #endif /* HAVE_SA_LEN*/