Set multicast bit

This commit is contained in:
Kurt Zeilenga 2001-12-05 06:09:22 +00:00
parent 8c0de8326f
commit 3da9378c3a

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