Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
format_mac_address
function in parse_mac.cc
Apparently the stream manipulator `std::setw` applies only to the next string written to the stream. Hence the function `format_mac_address` in parse_mac.cc only formatted the first pair of hexadecimal digits correctly. This went unnoticed until now because it only makes a difference for numbers below 0x10.
- Loading branch information