From 30859a2bc66f687dbbf83df6f15d1092a1c286a6 Mon Sep 17 00:00:00 2001 From: gardners Date: Sat, 21 Apr 2012 08:15:48 +0930 Subject: [PATCH] fixed session number generation bug. Some debugging added. --- vomp.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vomp.c b/vomp.c index 13663c13..e9c0fcca 100644 --- a/vomp.c +++ b/vomp.c @@ -420,6 +420,7 @@ int vomp_mdp_event(overlay_mdp_frame *mdp, return overlay_mdp_reply_error (mdp_named_socket,recvaddr,recvaddrlen,4005, "Insufficient entropy"); + call->local.session&=VOMP_SESSION_MASK; printf("session=0x%08x\n",call->local.session); int i; for(i=0;i