diff options
author | se <se@FreeBSD.org> | 1995-11-22 22:21:04 +0000 |
---|---|---|
committer | se <se@FreeBSD.org> | 1995-11-22 22:21:04 +0000 |
commit | 262d14803690c3c8f394da8917b4a04d8f187c70 (patch) | |
tree | 7365dbaead05b9534c89ef2b9903a8e0d5bdda42 /usr.bin/netstat | |
parent | 825daf3e3289f2ab37f6f075a4eb4270b8f846c2 (diff) | |
download | FreeBSD-src-262d14803690c3c8f394da8917b4a04d8f187c70.zip FreeBSD-src-262d14803690c3c8f394da8917b4a04d8f187c70.tar.gz |
Increase width of Network column from 11 to 13 for the AF_INET case.
This seems to have been missed, when the recent IPX changes went in ...
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index cd0a25e..a0a8a2b 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -153,10 +153,10 @@ intpr(interval, ifnetaddr) */ in = inet_makeaddr(ifaddr.in.ia_subnet, INADDR_ANY); - printf("%-11.11s ", netname(in.s_addr, + printf("%-13.13s ", netname(in.s_addr, ifaddr.in.ia_subnetmask)); #else - printf("%-11.11s ", + printf("%-13.13s ", netname(htonl(ifaddr.in.ia_subnet), ifaddr.in.ia_subnetmask)); #endif |