mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-14 07:49:20 +00:00
Fix message alignment in CPG.
we now unpack the message in the same way as we pack it. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1084 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
5d5cefd4a5
commit
d84e890831
@ -767,7 +767,7 @@ static void message_handler_req_exec_cpg_mcast (
|
||||
res_lib_cpg_mcast->nodeid = nodeid;
|
||||
memcpy(&res_lib_cpg_mcast->group_name, &gi->group_name,
|
||||
sizeof(struct cpg_name));
|
||||
memcpy(&res_lib_cpg_mcast->message, req_exec_cpg_mcast->message,
|
||||
memcpy(&res_lib_cpg_mcast->message, (char*)message+sizeof(*req_exec_cpg_mcast),
|
||||
msglen);
|
||||
|
||||
/* Send to all interested members */
|
||||
|
Loading…
Reference in New Issue
Block a user