[Cluster-devel] cluster/cman/cman_tool join_ccs.c

pcaulfield at sourceware.org pcaulfield at sourceware.org
Fri Jan 11 14:24:20 UTC 2008


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL46
Changes by:	pcaulfield at sourceware.org	2008-01-11 14:24:19

Modified files:
	cman/cman_tool : join_ccs.c 

Log message:
	Always the node name from cluster.conf as the node name.
	Fix fixes fencing and routing problems too in some circumstances.
	bz#428219

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/cman_tool/join_ccs.c.diff?cvsroot=cluster&only_with_tag=RHEL46&r1=1.7.2.8&r2=1.7.2.8.4.1

--- cluster/cman/cman_tool/Attic/join_ccs.c	2006/12/18 13:37:55	1.7.2.8
+++ cluster/cman/cman_tool/Attic/join_ccs.c	2008/01/11 14:24:19	1.7.2.8.4.1
@@ -118,8 +118,8 @@
 
 		if (strlen(nodename2) == strlen(nodename3) &&
 		    !strncmp(nodename2, nodename3, strlen(nodename3))) {
+			strcpy(nodename, str);
 			free(str);
-			strcpy(nodename, nodename3);
 			return 0;
 		}
 




More information about the Cluster-devel mailing list