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:
parent
57aea6dfb8
commit
50580ef7b3
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user