ip/linklocal: invert the localadm bit from mac address instead of just setting it
This commit is contained in:
parent
0c7a3ad1c9
commit
87d922589d
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ usage(void)
|
|||
void
|
||||
ea2eui64(uchar *lla, uchar *ea)
|
||||
{
|
||||
*lla++ = *ea++ | V60globaladm; /* oui (company id) */
|
||||
*lla++ = *ea++ ^ V60globaladm; /* oui (company id) */
|
||||
*lla++ = *ea++; /* " */
|
||||
*lla++ = *ea++; /* " */
|
||||
*lla++ = 0xFF; /* mac-48 in eui-64 (sic) */
|
||||
|
|
Loading…
Reference in a new issue