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>
1 file changed
tree: e091b97e54f3db724a4c2a74fb4ed5f87d434c86
  1. inarp.c
  2. Makefile