On Tue, Nov 14, 2006 at 11:57:11PM +0100, Andreas 'ads' Scherbaum wrote: > Package: heartbeat > Severity: important > Tags: patch > > The ping_group command is not working in heartbeat version 1.2.5. > The problem is located in ping_command.c. > > A usable patch is: > > diff -ruN heartbeat-1.2.5.orig/lib/plugins/HBcomm/ping_group.c > heartbeat-1.2.5/lib/plugins/HBcomm/ping_group.c > --- heartbeat-1.2.5.orig/lib/plugins/HBcomm/ping_group.c 2005-08-10 > 06:08:17.000000000 +0200 > +++ heartbeat-1.2.5/lib/plugins/HBcomm/ping_group.c 2006-11-14 > 13:40:26.000000000 +0100 > @@ -477,7 +477,7 @@ > for(node = ei->node; node; node = node->next) { > if(!memcmp(&(their_addr.sin_addr), &(node->addr.sin_addr), > sizeof(struct in_addr))) { > - goto ReRead; /* Not ours */ > + break; > } > } > if(!node) { > > > The patch is taken from: > > http://www.gossamer-threads.com/lists/linuxha/dev/34790#34790 > > Thanks to Wolfgang Dumhs for debugging the problem.
Thanks. I'll get that fix into the Linux-HA lha-STABLE_1_2 tree and also roll up a fresh Debian package. For the record, this problem does not seem to be present in the heartbeat-2 package (aka linux-ha 2.0.X). -- Horms H: http://www.vergenet.net/~horms/ W: http://www.valinux.co.jp/en/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]