device.c: use format_macaddr() helper to convert mac addresses to strings, ether_ntoa...