client: truncate long hostnames in clients output
This commit is contained in:
parent
ee396702f2
commit
862938cc79
1 changed files with 1 additions and 1 deletions
2
client.c
2
client.c
|
@ -2289,7 +2289,7 @@ process_cmd_clients(char *line)
|
||||||
if (ip.family == IPADDR_UNSPEC)
|
if (ip.family == IPADDR_UNSPEC)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
format_name(name, sizeof (name), sizeof (name), 0, 0, &ip);
|
format_name(name, sizeof (name), 25, 0, 0, &ip);
|
||||||
|
|
||||||
print_report("%-25s %6U %5U %C %C %I %6U %5U %C %I\n",
|
print_report("%-25s %6U %5U %C %C %I %6U %5U %C %I\n",
|
||||||
name,
|
name,
|
||||||
|
|
Loading…
Reference in a new issue