File 0007-use-ip-version-instead-of-mcast-family.patch of Package corosync.6022
From ebd958a7e5041328b4ba1c2698ec400fb107b519 Mon Sep 17 00:00:00 2001
From: Bin Liu <bliu@suse.com>
Date: Thu, 3 Aug 2017 15:46:10 +0800
Subject: [PATCH] use ip version instead of mcast family
---
exec/totemconfig.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/exec/totemconfig.c b/exec/totemconfig.c
index f232ea8..245f234 100644
--- a/exec/totemconfig.c
+++ b/exec/totemconfig.c
@@ -1088,7 +1088,7 @@ extern int totem_config_read (
*/
if (icmap_get_string(iter_key, &str) == CS_OK) {
res = totemip_parse (&totem_config->interfaces[ringnumber].bindnet, str,
- totem_config->interfaces[ringnumber].mcast_addr.family);
+ totem_config->ip_version);
free(str);
}
--
2.12.3