summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-08-12 12:29:07 +0000
committerbz <bz@FreeBSD.org>2009-08-12 12:29:07 +0000
commite403ce566370f81b3e50be42a8da06906d33f404 (patch)
tree5cff64877a62caaeb76ce741b32c58fdfc97f354 /usr.sbin
parentb45bae484a6d9cd54fb3f708622e95a8bef2e319 (diff)
downloadFreeBSD-src-e403ce566370f81b3e50be42a8da06906d33f404.zip
FreeBSD-src-e403ce566370f81b3e50be42a8da06906d33f404.tar.gz
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
Diffstat (limited to 'usr.sbin')
-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 8c8b981..0661ee3 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",
OpenPOWER on IntegriCloud