hwaddr_canonical
Description:
Parses asc
to see if it is a valid hardware address of the given length, and if so, returns it in canonical form (uppercase, with
leading 0s as needed, and with colons rather than hyphens).
Parameters:
asc |
the ASCII representation of a hardware address |
length |
the length of address that |
Returns:
the canonicalized address if |
Namespace: NM.Utils
Package: libnm