mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-26 15:03:52 +00:00
cfgtool: print list of IP with space between items
Signed-off-by: Jan Friesse <jfriesse@redhat.com> Reviewed-by: Steven Dake <sdake@redhat.com>
This commit is contained in:
parent
f6df7823fa
commit
b4bef1cbf5
@ -201,6 +201,9 @@ static void showaddrs_do(int nodeid)
|
||||
saddr = &sin->sin_addr;
|
||||
|
||||
inet_ntop(ss->ss_family, saddr, buf, sizeof(buf));
|
||||
if (i != 0) {
|
||||
printf(" ");
|
||||
}
|
||||
printf("%s", buf);
|
||||
}
|
||||
printf("\n");
|
||||
|
Loading…
Reference in New Issue
Block a user