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
This commit is contained in:
Bjoern A. Zeeb 2009-08-12 12:29:07 +00:00
parent 57aea6dfb8
commit 50580ef7b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196137

View File

@ -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",