Page MenuHomeFreeBSD

Indicate that this is a locally administered MAC address.
ClosedPublic

Authored by araujo on Sep 16 2016, 4:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 4:26 AM
Unknown Object (File)
Fri, Apr 26, 2:04 PM
Unknown Object (File)
Thu, Apr 11, 11:13 PM
Unknown Object (File)
Jan 16 2024, 11:43 AM
Unknown Object (File)
Jan 1 2024, 10:47 PM
Unknown Object (File)
Dec 22 2023, 4:34 PM
Unknown Object (File)
Dec 22 2023, 4:34 PM
Unknown Object (File)
Dec 20 2023, 12:43 AM
Subscribers

Details

Summary

I forgot to address lidl@ suggestion on review D7615.

lidl@
"""
I think this should really be clearing the lowest bit of the first octet to clean the multicast bit, and then setting on the second lowest bit of the first octet, to indicate that this is a locally administered MAC address.
"""

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

araujo retitled this revision from to Indicate that this is a locally administered MAC address..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)
araujo added reviewers: lidl, jhb, pi.
lidl edited edge metadata.

With or without the comment change, the code change looks OK to me.

sbin/ifconfig/af_link.c
99 ↗(On Diff #20379)

Probably should change this comment so it reads:

"Non-multicast and claim it is locally administered."

This revision is now accepted and ready to land.Sep 16 2016, 5:08 AM
araujo edited edge metadata.

Rephrase the comment to reflect the locally administered part.

Thanks lidl@

This revision now requires review to proceed.Sep 16 2016, 5:18 AM
lidl edited edge metadata.
This revision is now accepted and ready to land.Sep 16 2016, 5:33 AM

@lidl I'm in a business trip, if you don't mind, can you commit it?

Best,

This revision was automatically updated to reflect the committed changes.