* localaddr.c: fix definition of ifreq_size so it actually works
authorTom Yu <tlyu@mit.edu>
Wed, 19 Jul 1995 21:20:04 +0000 (21:20 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 19 Jul 1995 21:20:04 +0000 (21:20 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6315 dc483132-0cff-0310-8789-dd5450dbe970

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

index 5dcc23044db08c5f9024b1618c5c82ef262c47da..c155a075ae77a52fe9274acf795b54d151705ce0 100644 (file)
@@ -1,3 +1,7 @@
+Wed Jul 19 17:17:54 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>
+
+       * localaddr.c: fix definition of ifreq_size so it actually works
+
 Mon Jul 17 16:04:00 1995  Sam Hartman  <hartmans@tertius.mit.edu>
 
        * localaddr.c (krb5_crypto_os_localaddr): Deal with variable sized
index ddf58181e57fff9614448eb49c6266d2e75c23a1..842bf9a836efeb212288fbc49e62a6c084fac769 100644 (file)
@@ -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*/