commit | df04613cbb7bd66963d435c9185dc89c4f10021e | [log] [tgz] |
---|---|---|
author | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 03 15:03:22 2016 +0800 |
committer | Jeremy Kerr <jk@ozlabs.org> | Thu Mar 03 15:04:52 2016 +0800 |
tree | e091b97e54f3db724a4c2a74fb4ed5f87d434c86 | |
parent | 88384bccc768619a6abd2c6182b8f53611426e93 [diff] |
Consolidate MAC-address printing to a separate function We have two (different) paths to print an ethernet MAC address. This change consolidates them into a single function to convert address bytes to a string, and uses that for our printf()s. Suggested by Joel Stanley <joel@jms.id.au>. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>