X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=data%2FPVE%2FCorosync.pm;fp=data%2FPVE%2FCorosync.pm;h=8b5c91e0da084da4e9ba7423176872a0c16ef5af;hb=a8db1d368182dc190815a2ccd361b2287e20c473;hp=6a27ab085a4b8d5ef532dd27ba617bbca0b3cb6c;hpb=c393636bfeb94948c98aaffa5dd35bee8db16ac3;p=pve-cluster.git diff --git a/data/PVE/Corosync.pm b/data/PVE/Corosync.pm index 6a27ab0..8b5c91e 100644 --- a/data/PVE/Corosync.pm +++ b/data/PVE/Corosync.pm @@ -296,7 +296,8 @@ sub resolve_hostname_like_corosync { my ($hostname, $corosync_conf) = @_; my $corosync_strategy = $corosync_conf->{main}->{totem}->{ip_version}; - $corosync_strategy = lc ($corosync_strategy // "any"); + # Corosync 2.x default + $corosync_strategy = lc ($corosync_strategy // "ipv4"); my $match_ip_and_version = sub { my ($addr) = @_;