From: lhh@sourceware.org <lhh@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/ccs ccs_tool/update.c daemon/cluster_mgr.c
Date: 26 Oct 2007 20:26:49 -0000 [thread overview]
Message-ID: <20071026202649.13754.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL4
Changes by: lhh at sourceware.org 2007-10-26 20:26:47
Modified files:
ccs/ccs_tool : update.c
ccs/daemon : cluster_mgr.c
Log message:
Fix bugzilla #298831 / #298861 - apps using magmamsg don't connect from correct source IP on multi-homed hosts
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/ccs_tool/update.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.4&r2=1.1.2.5
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/ccs/daemon/cluster_mgr.c.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.10.2.8&r2=1.10.2.9
--- cluster/ccs/ccs_tool/update.c 2006/01/12 18:11:26 1.1.2.4
+++ cluster/ccs/ccs_tool/update.c 2007/10/26 20:26:47 1.1.2.5
@@ -80,6 +80,7 @@
}
int update(char *location){
+ uint64_t nid;
int error = 0;
int i, fd;
int cluster_fd = -1;
@@ -190,6 +191,8 @@
membership = clu_member_list(NULL);
msg_update(membership);
+ clu_local_nodeid(NULL, &nid);
+ msg_set_nodeid(nid);
memb_resolve_list(membership, NULL);
--- cluster/ccs/daemon/cluster_mgr.c 2006/02/16 20:12:26 1.10.2.8
+++ cluster/ccs/daemon/cluster_mgr.c 2007/10/26 20:26:47 1.10.2.9
@@ -306,6 +306,7 @@
static void cluster_communicator(void){
+ uint64_t nid;
int cluster_fd = -1;
int listen_fds[2], listeners;
int warn_user = 0;
@@ -371,6 +372,8 @@
membership = clu_member_list(NULL);
msg_update(membership);
+ clu_local_nodeid(NULL, &nid);
+ msg_set_nodeid(nid);
memb_resolve_list(membership, NULL);
while(1) {
reply other threads:[~2007-10-26 20:26 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071026202649.13754.qmail@sourceware.org \
--to=lhh@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).