From 007b618d9921877fe7ec5be59bc59be7e44e6de1 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 7 Sep 2002 18:27:57 +0000 Subject: [PATCH] Should resolve ITS#2071 --- libraries/liblutil/uuid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/liblutil/uuid.c b/libraries/liblutil/uuid.c index d93c364eb8..81be614358 100644 --- a/libraries/liblutil/uuid.c +++ b/libraries/liblutil/uuid.c @@ -97,7 +97,7 @@ lutil_eaddr( void ) free(buf); return NULL; -#elif defined (SIOCGIFADDR) +#elif defined( SIOCGIFADDR ) && defined( AFLINK ) char buf[sizeof(struct ifreq) * 32]; struct ifconf ifc; struct ifreq *ifr; @@ -156,7 +156,7 @@ lutil_eaddr( void ) if (memcmp(eaddr, zero, sizeof(eaddr)) == 0) { /* XXX - who knows? */ lutil_entropy( eaddr, sizeof(eaddr) ); - eaddr[0] |= 0x80; /* turn it into a mutlicast address */ + eaddr[0] |= 0x80; /* turn it into a multicast address */ } return eaddr; -- 2.39.5