aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/jls/jls.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2009-08-12 12:29:07 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2009-08-12 12:29:07 +0000
commit50580ef7b3e3d84ff2175acc588ee04ffe602984 (patch)
tree5cff64877a62caaeb76ce741b32c58fdfc97f354 /usr.sbin/jls/jls.c
parent57aea6dfb8f2379f93733bdbf485d15c2fdf0a3a (diff)
downloadsrc-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.c2
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",