HomeClusterLabs Projects

Log: cib,libcrmcommon,lrmd: handle IP addresses better in messages

Description

Log: cib,libcrmcommon,lrmd: handle IP addresses better in messages

This exposes lib/common/remote.c:get_ip_str() as a new internal API
crm_sockaddr2str(), and uses it wherever inet_ntoa() and inet_ntop()
were used previously.

Mainly, this reduces code duplication. It also takes cib/remote.c
one step towards supporting IPv6 addresses.

Details

Provenance
kgaillotAuthored on Feb 16 2017, 12:35 PM
Parents
rPcdd4419d0865: Fix: tools: crm_attribute should prefer node name from environment
Branches
Unknown
Tags
Unknown

Event Timeline