From 808ceac9f54bb3988fc2bb6b0d86eaded07283e1 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 31 Aug 2010 16:51:28 +0200 Subject: s3: messaging_ctdbd_init potentially modifies my_vnn If we call messaging_ctdbd_connection() we end up with the wrong vnn in our messaging context. This is a bit of a hack, get_my_vnn() needs to go eventually along with procid_self() --- source3/lib/messages.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/lib') diff --git a/source3/lib/messages.c b/source3/lib/messages.c index af83cee6d8..11dc931f0f 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -211,6 +211,7 @@ struct messaging_context *messaging_init(TALLOC_CTX *mem_ctx, return NULL; } } + ctx->id.vnn = get_my_vnn(); #endif messaging_register(ctx, NULL, MSG_PING, ping_message); -- cgit