mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
IP addresses can be up to 15 characters long, not 12.
PR: 50904
This commit is contained in:
parent
2f4f42d484
commit
90e0c23cb9
1 changed files with 2 additions and 2 deletions
|
|
@ -65,10 +65,10 @@ retry:
|
|||
xp->pr_version != XPRISON_VERSION)
|
||||
errx(1, "Kernel and userland out of sync");
|
||||
|
||||
printf(" JID IP Address Hostname Path\n");
|
||||
printf(" JID IP Address Hostname Path\n");
|
||||
for (i = 0; i < len / sizeof(*xp); i++) {
|
||||
in.s_addr = ntohl(xp->pr_ip);
|
||||
printf("%6d %-12.12s %-29.29s %.77s\n",
|
||||
printf("%6d %-15.15s %-29.29s %.74s\n",
|
||||
xp->pr_id, inet_ntoa(in), xp->pr_host, xp->pr_path);
|
||||
xp++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue