]> git.sur5r.net Git - openldap/commitdiff
Fix multicast bit
authorKurt Zeilenga <kurt@openldap.org>
Sun, 4 Sep 2005 09:01:46 +0000 (09:01 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sun, 4 Sep 2005 09:01:46 +0000 (09:01 +0000)
libraries/liblutil/uuid.c

index f300f425746627717ef3ad28bf24e620d478f10b..6857759fcfbc792cdc237b28ed62c541334befbf 100644 (file)
@@ -169,7 +169,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 multicast address */
+               eaddr[0] |= 0x01; /* turn it into a multicast address */
        }
 
        return eaddr;