mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 17:40:08 +01:00
libnm-core: clarify a comment about InfiniBand hardware address matching
This commit is contained in:
parent
32a53f786d
commit
449ff11b78
1 changed files with 3 additions and 2 deletions
|
|
@ -2133,8 +2133,9 @@ nm_utils_hwaddr_valid (const char *asc, gssize length)
|
|||
*
|
||||
* 3. If @hwaddr1 and @hwaddr2 are InfiniBand hardware addresses (that is, if
|
||||
* they are %INFINIBAND_ALEN bytes long in binary form) then only the last
|
||||
* 8 bytes are compared, since those are the only bytes that matter for
|
||||
* InfiniBand hardware address matching.
|
||||
* 8 bytes are compared, since those are the only bytes that actually
|
||||
* identify the hardware. (The other 12 bytes will change depending on the
|
||||
* configuration of the InfiniBand fabric that the device is connected to.)
|
||||
*
|
||||
* If a passed-in ASCII hardware address cannot be parsed, or would parse to an
|
||||
* address larger than %NM_UTILS_HWADDR_LEN_MAX, then it will silently fail to
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue