From mboxrd@z Thu Jan 1 00:00:00 1970 From: lhh@sourceware.org Date: 26 Jan 2007 22:14:30 -0000 Subject: [Cluster-devel] cluster/ccs/ccs_tool update.c Message-ID: <20070126221430.18973.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: cluster Branch: RHEL5 Changes by: lhh at sourceware.org 2007-01-26 22:14:25 Modified files: ccs/ccs_tool : update.c Log message: Fix 223519 Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/update.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.8.2.1&r2=1.8.2.2 --- cluster/ccs/ccs_tool/update.c 2006/11/28 11:23:16 1.8.2.1 +++ cluster/ccs/ccs_tool/update.c 2007/01/26 22:14:22 1.8.2.2 @@ -243,6 +243,8 @@ swab_header(ch); for (i = 0; i < members->count; i++) { + if (members->nodes[i].cn_nodeid == 0) + continue; fd = ccs_open(members->nodes[i], cluster_base_port, 5); if (fd < 0) { @@ -292,6 +294,8 @@ swab_header(ch); for (i=0; i < members->count; i++) { + if (members->nodes[i].cn_nodeid == 0) + continue; fd = ccs_open(members->nodes[i], cluster_base_port, 5); if(fd < 0){ fprintf(stderr, "Unable to open connection to %s: %s\n",