ether-addr-util: make hw_addr_to_string() return valid string even if hardware address is null
Previously, when the length of the hardware address is zero, then the buffer was not nul-terminated. This also replaces sprintf() with hexchar(). (cherry picked from commit 914ac555)
Loading
Please register or sign in to comment