mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Set multicast bit
This commit is contained in:
parent
8c0de8326f
commit
3da9378c3a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user