HomeClusterLabs Projects

config: Don't free pointers used by transports

Description

config: Don't free pointers used by transports

reload failed for UDP[U] because they had saved pointers
to the interfaces[] array. so memcpy into that rather then
re-allocate it.

Also, move the check for different IP address families so
it also gets run at reload time.

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
Reviewed-by: Jan Friesse <jfriesse@redhat.com>

Details

Provenance
chrissie-cAuthored on Apr 3 2020, 10:48 AM
jfriesseCommitted on Apr 24 2020, 10:27 AM
Parents
rC7cb539e2e385: config: don't reload vquorum if reload fails
Branches
Unknown
Tags
Unknown

Event Timeline