Message303360
Ethernet emulation for some devices like Android phones' tethering use all-zero MAC addresses (which is okay since they don't actually pass Ethernet frames to other NICs). This results in a node ID of 0 if I'm currently connected to the Net via such a device. Which fails range checks in the corresponding tests.
RFC 4122 doesn't actually have any prohibitions of using a node ID of 0. Neither does IEEE 802.3 (or rather, whatever info I gathered on it since the standard's text is not freely available) assign any special meaning to an all-zero MAC address.
The patch also corrects the check call in test_windll_getnode since the tested function always generates UUID from a MAC address. |
|
Date |
User |
Action |
Args |
2017-09-29 21:37:19 | Ivan.Pozdeev | set | recipients:
+ Ivan.Pozdeev |
2017-09-29 21:37:18 | Ivan.Pozdeev | set | messageid: <1506721038.97.0.213398074469.issue31643@psf.upfronthosting.co.za> |
2017-09-29 21:37:18 | Ivan.Pozdeev | link | issue31643 messages |
2017-09-29 21:37:18 | Ivan.Pozdeev | create | |
|