diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-31 16:51:28 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-31 17:07:41 +0200 |
commit | 808ceac9f54bb3988fc2bb6b0d86eaded07283e1 (patch) | |
tree | c988dc5fc8390f83cc2b56873158e693c9f1d507 /source3/lib | |
parent | 301bf22eab92999bc4b0f2d733830618b8b9d428 (diff) | |
download | samba-808ceac9f54bb3988fc2bb6b0d86eaded07283e1.tar.gz samba-808ceac9f54bb3988fc2bb6b0d86eaded07283e1.tar.bz2 samba-808ceac9f54bb3988fc2bb6b0d86eaded07283e1.zip |
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()
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/messages.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); |