diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2017-01-05 11:44:27 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2017-01-05 11:44:27 +0000 |
commit | f03f398cda3b904dcc9de300e4b70cef0239e322 (patch) | |
tree | cf6d0ac4b945329d82f54be8187f0cd76c239849 /usr.bin/netstat | |
parent | 60c2226f895537ddb9b0d632b6e77f7518ad69f6 (diff) | |
download | src-test2-f03f398cda3b904dcc9de300e4b70cef0239e322.tar.gz src-test2-f03f398cda3b904dcc9de300e4b70cef0239e322.zip |
Notes
Diffstat (limited to 'usr.bin/netstat')
-rw-r--r-- | usr.bin/netstat/inet6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c index 421e6e73ca6c..e62eeac2e10f 100644 --- a/usr.bin/netstat/inet6.c +++ b/usr.bin/netstat/inet6.c @@ -1290,7 +1290,7 @@ inet6print(const char *container, struct in6_addr *in6, int port, xo_emit("{d:target/%-*.*s} ", width, width, line); - plen = strlen(cp) - 1; + plen = strlen(cp); alen--; xo_emit("{e:address/%*.*s}{e:port/%*.*s}", alen, alen, line, plen, plen, cp); |