Skip to content
  • Thomas Haller's avatar
    libnm-core/utils: update hwaddr utilities · e5fe5a4c
    Thomas Haller authored
    _nm_utils_hwaddr_length() did a validation of the string
    and returned the length of the address. In all cases where
    we were interested in that, we also either want to validate
    the address, get the address in binary form, or canonicalize
    the address.
    
    We can avoid these duplicate checks, by using _nm_utils_hwaddr_aton()
    which both does the parsing and returning the length.
    e5fe5a4c