Fix multicast bit

This commit is contained in:
Kurt Zeilenga 2005-09-04 09:01:46 +00:00
parent 00d898e7f3
commit c6e4254b8f

View 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;