diff options
| author | Bill Fumerola <billf@FreeBSD.org> | 2001-03-08 01:52:49 +0000 |
|---|---|---|
| committer | Bill Fumerola <billf@FreeBSD.org> | 2001-03-08 01:52:49 +0000 |
| commit | 5651a036926bb8d13e855e8e2c4ce6365c4d2dec (patch) | |
| tree | 5dfaa4b4aea46d545ddd7b510f4de44ebbcae735 | |
| parent | af1ac475375708298586ca07c0d6d40a3973374a (diff) | |
Notes
| -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 15e8aecd4945..4338c5f0a9a5 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 |
