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:
Jan Friesse 2011-03-22 17:33:03 +01:00
parent f6df7823fa
commit b4bef1cbf5

View File

@ -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");