mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
r24032: It helps testing tremendously if the cluster messaging actually sends
and receives messages to other nodes... :-)
(This used to be commit 3e9e9a3f28
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7c257b2214
commit
33c57437a4
@ -320,6 +320,13 @@ NTSTATUS messaging_send(struct messaging_context *msg_ctx,
|
||||
struct server_id server, uint32_t msg_type,
|
||||
const DATA_BLOB *data)
|
||||
{
|
||||
#ifdef CLUSTER_SUPPORT
|
||||
if (!procid_is_local(&server)) {
|
||||
return msg_ctx->remote->send_fn(msg_ctx, server,
|
||||
msg_type, data,
|
||||
msg_ctx->remote);
|
||||
}
|
||||
#endif
|
||||
return msg_ctx->local->send_fn(msg_ctx, server, msg_type, data,
|
||||
msg_ctx->local);
|
||||
}
|
||||
|
Reference in New Issue
Block a user