diff options
author | jkh <jkh@FreeBSD.org> | 2000-01-03 17:48:36 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-01-03 17:48:36 +0000 |
commit | 47cb278dcf5993d02be1380cffbe647d3bcc5923 (patch) | |
tree | fa452d90c290f1a12294b3744a57ca0293d9ceae /usr.bin/netstat | |
parent | 6275352f767cc3142353f710df847a4cca31be85 (diff) | |
download | FreeBSD-src-47cb278dcf5993d02be1380cffbe647d3bcc5923.zip FreeBSD-src-47cb278dcf5993d02be1380cffbe647d3bcc5923.tar.gz |
Print mac addresses in standard byte:byte format rather than
byte.byte. This makes it consistent with our other utilities
like arp(8) and ifconfig(8).
Submitted by: Paul Vixie <paul@vix.com>
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/if.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index 4366163..f72bf6a 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -321,7 +321,7 @@ intpr(interval, ifnetaddr, pfunc) hexprint: while (--n >= 0) m += printf("%02x%c", *cp++ & 0xff, - n > 0 ? '.' : ' '); + n > 0 ? ':' : ' '); m = 30 - m; while (m-- > 0) putchar(' '); |