[Sheepdog] [PATCH] collie: set the protocol version to the header

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon May 10 13:45:05 CEST 2010


Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 collie/group.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/collie/group.c b/collie/group.c
index afe7a85..0081e6b 100644
--- a/collie/group.c
+++ b/collie/group.c
@@ -1204,6 +1204,7 @@ static void send_join_request(struct cpg_address *addr, struct work_confchg *w)
 	if (!is_my_cpg_addr(addr))
 		return;
 
+	msg.header.proto_ver = SD_COLLIE_PROTO_VER;
 	msg.header.op = SD_MSG_JOIN;
 	msg.header.state = DM_INIT;
 	msg.header.msg_length = sizeof(msg);
-- 
1.5.6.5




More information about the sheepdog mailing list