mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-24 14:04:04 +00:00
cpgtool: 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
033f7ced10
commit
f6df7823fa
@ -81,6 +81,9 @@ static void fprint_addrs(FILE *f, int nodeid)
|
||||
saddr = &sin->sin_addr;
|
||||
|
||||
inet_ntop(ss->ss_family, saddr, buf, sizeof(buf));
|
||||
if (i != 0) {
|
||||
fprintf(f, " ");
|
||||
}
|
||||
fprintf(f, "%s", buf);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user