1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Fix jls backward compat mode broken in r222465, correctly

displaying addresses in verbose mode (jls -v) again.

Submitted by:	jamie
MFC after:	3 days
Approved by:	re (kib)
This commit is contained in:
Bjoern A. Zeeb 2011-08-13 13:49:11 +00:00
parent 854d7b9fc8
commit 7bf1e98fde
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=224841

View File

@ -371,7 +371,7 @@ print_jail(int pflags, int jflags)
*(int *)params[5].jp_value);
n = 6;
#ifdef INET
if (ip4_ok && !strcmp(params[n].jp_name, "ip.addr")) {
if (ip4_ok && !strcmp(params[n].jp_name, "ip4.addr")) {
count = params[n].jp_valuelen / sizeof(struct in_addr);
for (ai = 0; ai < count; ai++)
if (inet_ntop(AF_INET,