HomeClusterLabs Projects

cfg: Fix cfg_get_node_addrs incorrect retype

Description

cfg: Fix cfg_get_node_addrs incorrect retype

node_ifs is array of totemip_addresses not sockaddr storage, so don't
try to retype it and use correct family field.

Also instead of using buf of PIPE_BUF use alloca to alloc really needed
space.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>

Details

Provenance
jfriesseAuthored on Wed, Aug 13, 12:42 PM
Parents
rC363aaba4d0b7: totemknet: Fix msg_msg_hdr typo
Branches
Unknown
Tags
Unknown
References
HEAD -> main