for Corosync 3.x, multicast is only needed if the transport is explicitly set to 'udp'
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
});
# allow multicast only if enabled in config
});
# allow multicast only if enabled in config
- $multicast_enabled = $corosync_conf->{main}->{totem}->{transport} // 0;
+ my $corosync_transport = $corosync_conf->{main}->{totem}->{transport};
+ $multicast_enabled = defined($corosync_transport) && $corosync_transport eq 'udp';
}
# host inbound firewall
}
# host inbound firewall