diff options
-rw-r--r-- | usr.sbin/arp/arp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/arp/arp.c b/usr.sbin/arp/arp.c index 15e8aec..4338c5f 100644 --- a/usr.sbin/arp/arp.c +++ b/usr.sbin/arp/arp.c @@ -537,7 +537,8 @@ nuke_entry(struct sockaddr_dl *sdl, void ether_print(u_char *cp) { - printf("%x:%x:%x:%x:%x:%x", cp[0], cp[1], cp[2], cp[3], cp[4], cp[5]); + printf("%02x:%02x:%02x:%02x:%02x:%02x", cp[0], cp[1], cp[2], cp[3], + cp[4], cp[5]); } int |