Commit 449ff11b authored by Dan Winship's avatar Dan Winship
Browse files

libnm-core: clarify a comment about InfiniBand hardware address matching

parent 32a53f78
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment