]> git.sur5r.net Git - openldap/commitdiff
Set multicast bit
authorKurt Zeilenga <kurt@openldap.org>
Wed, 5 Dec 2001 06:09:22 +0000 (06:09 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 5 Dec 2001 06:09:22 +0000 (06:09 +0000)
libraries/liblutil/uuid.c

index 8f5bf471b46a2523863a577933b57085870384ec..e6ad5d468e9c7f5ef78598c9b79980d68d3f4ee6 100644 (file)
@@ -152,6 +152,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 */
        }
 
        return eaddr;