Browse Source

The totem rrp incorrectly increased the wrong failure counter.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1101 fd59a12c-fef9-0310-b244-a6a79926bd2f
Steven Dake 19 years ago
parent
commit
8f21967d74
1 changed files with 2 additions and 2 deletions
  1. 2 2
      exec/totemrrp.c

+ 2 - 2
exec/totemrrp.c

@@ -672,9 +672,9 @@ static void passive_mcast_recv (
 
 	/*
 	 * Monitor for failures
-	 * TODO doesn't handle wrap-around of the token
+	 * TODO doesn't handle wrap-around of the mcast recv count
 	 */
-	passive_instance->token_recv_count[iface_no] += 1;
+	passive_instance->mcast_recv_count[iface_no] += 1;
 	max = 0;
 	for (i = 0; i < rrp_instance->interface_count; i++) {
 		if (max < passive_instance->mcast_recv_count[i]) {