Set version field in totem header in case it isn't set by default.

git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2340 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
Steven Dake 2009-07-01 20:29:55 +00:00
parent 453ef211c1
commit 176d80eafe

View File

@ -669,6 +669,7 @@ int callback_token_received_fn (enum totem_callback_token_type type,
pthread_mutex_unlock (&mcast_msg_mutex);
return (0);
}
mcast.header.version = 0;
mcast.fragmented = 0;
/*
@ -796,6 +797,7 @@ static int mcast_msg (
return(-1);
}
mcast.header.version = 0;
for (i = 0; i < iov_len; ) {
mcast.fragmented = 0;
mcast.continuation = fragment_continuation;