From: Kurt Zeilenga Date: Sat, 7 Sep 2002 18:27:57 +0000 (+0000) Subject: Should resolve ITS#2071 X-Git-Tag: NO_SLAP_OP_BLOCKS~1008 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=007b618d9921877fe7ec5be59bc59be7e44e6de1;p=openldap Should resolve ITS#2071 --- 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;