Variable Length of PhysicalAddress
-
06-07-2019 - |
Question
The PhysicalAddress
(used for MAC addresses) class supports variable-length byte arrays. As far as I know MAC addresses are always 48-bit long.
Is there a reason why the PhysicalAddress
allows any lenghts?
Solution
Your assumption that physical addresses are always 48 bits long is incorrect. EUI-64 addresses are 64 bits long, for instance.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow