diff options
| author | David Greenman <dg@FreeBSD.org> | 1994-08-05 12:38:06 +0000 |
|---|---|---|
| committer | David Greenman <dg@FreeBSD.org> | 1994-08-05 12:38:06 +0000 |
| commit | 541f256275ddf8f4cb36a6c2539143edc387ffd9 (patch) | |
| tree | b5321344fa12bd5904c34701879419020cf9b3cc /usr.bin | |
| parent | 9671146f8befb31abf3a5746f90f3715d32482c9 (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -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 3f12f53b4f6d..f99e84af3872 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -189,7 +189,7 @@ intpr(interval, ifnetaddr) cp = sa->sa_data; hexprint: while (--n >= 0) - m += printf("%x%c", *cp++ & 0xff, + m += printf("%02x%c", *cp++ & 0xff, n > 0 ? '.' : ' '); m = 28 - m; while (m-- > 0) |
