Sorry, missed the attachment.

hj

On Thu, Feb 4, 2010 at 10:46 PM, hj lee <[email protected]> wrote:

> Hi,
>
> It's very minor patch to initialize encapsulated to 0 in hold_cancel
> message. Without this patch, encapsulated byte has a garbage byte that makes
> wireshark dissector fail.
>
>
Index: exec/totemsrp.c
===================================================================
--- exec/totemsrp.c	(revision 2654)
+++ exec/totemsrp.c	(working copy)
@@ -2615,6 +2615,7 @@
 	 */
 	token_hold_cancel.header.type = MESSAGE_TYPE_TOKEN_HOLD_CANCEL;
 	token_hold_cancel.header.endian_detector = ENDIAN_LOCAL;
+        token_hold_cancel.header.encapsulated = 0;
 	token_hold_cancel.header.nodeid = instance->my_id.addr[0].nodeid;
 	memcpy (&token_hold_cancel.ring_id, &instance->my_ring_id,
 		sizeof (struct memb_ring_id));
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to