cluster: STABLE31 - cman: Fix udpb handling in cman-preconfig

Lon Hohberger lon at fedoraproject.org
Mon Jan 3 18:26:59 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=161f81ed5d0acfcb01b85a889251e704819897b0
Commit:        161f81ed5d0acfcb01b85a889251e704819897b0
Parent:        2f3e00c93d582f8ecbb8030fed21311ba9c5fed9
Author:        Lon Hohberger <lhh at redhat.com>
AuthorDate:    Mon Jan 3 13:18:33 2011 -0500
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Mon Jan 3 13:21:31 2011 -0500

cman: Fix udpb handling in cman-preconfig

Makes handling match line 708 in cman-preconfig.c.

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 cman/daemon/cman-preconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cman/daemon/cman-preconfig.c b/cman/daemon/cman-preconfig.c
index 5239d89..5d608a7 100644
--- a/cman/daemon/cman-preconfig.c
+++ b/cman/daemon/cman-preconfig.c
@@ -286,7 +286,7 @@ static int add_ifaddr(struct objdb_iface_ver0 *objdb, char *mcast, char *ifaddr,
 	int ret = 0;
 	const char *tx_mech_to_str[] = {
 		[TX_MECH_UDP] = "udp",
-		[TX_MECH_UDPB] = "udp",
+		[TX_MECH_UDPB] = "udpb",
 		[TX_MECH_UDPU] = "udpu",
 		[TX_MECH_RDMA] = "iba",
 	};


More information about the cluster-commits mailing list