diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2009-08-12 12:29:07 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2009-08-12 12:29:07 +0000 |
commit | 50580ef7b3e3d84ff2175acc588ee04ffe602984 (patch) | |
tree | 5cff64877a62caaeb76ce741b32c58fdfc97f354 /usr.sbin/jls/jls.c | |
parent | 57aea6dfb8f2379f93733bdbf485d15c2fdf0a3a (diff) | |
download | src-50580ef7b3e3d84ff2175acc588ee04ffe602984.tar.gz src-50580ef7b3e3d84ff2175acc588ee04ffe602984.zip |
Do not truncate IPv6 addresses when printing them in the
jls -av 7.x multi-IP jail backward compat output.
Reported by: ed
Tested by: ed
Reviewed by: rwatson
Approved by: re
Notes
Notes:
svn path=/head/; revision=196137
Diffstat (limited to 'usr.sbin/jls/jls.c')
-rw-r--r-- | usr.sbin/jls/jls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/jls/jls.c b/usr.sbin/jls/jls.c index 8c8b981d82fe..0661ee3fa437 100644 --- a/usr.sbin/jls/jls.c +++ b/usr.sbin/jls/jls.c @@ -359,7 +359,7 @@ print_jail(int pflags, int jflags) ipbuf, sizeof(ipbuf)) == NULL) err(1, "inet_ntop"); else - printf("%6s %-15.15s\n", "", ipbuf); + printf("%6s %s\n", "", ipbuf); } } else if (pflags & PRINT_DEFAULT) printf("%6d %-15.15s %-29.29s %.74s\n", |