]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
update the vnn as well when getting the connection information
authorAndrew Tridgell <tridge@samba.org>
Sat, 21 Apr 2007 21:24:39 +0000 (23:24 +0200)
committerAndrew Tridgell <tridge@samba.org>
Sat, 21 Apr 2007 21:24:39 +0000 (23:24 +0200)
(This used to be ctdb commit 25f36f7edaa56a16692949d6750b65d74bf4218f)

ctdb/common/ctdb_client.c

index bc61c37c8a84df7e21b05b3aedad7c2b1ad5c171..1b14c3b90dfa8bac75b4cf68a85771b449101775 100644 (file)
@@ -45,6 +45,7 @@ static void ctdb_reply_connect_wait(struct ctdb_context *ctdb,
                                    struct ctdb_req_header *hdr)
 {
        struct ctdb_reply_connect_wait *r = (struct ctdb_reply_connect_wait *)hdr;
+       ctdb->vnn = r->vnn;
        ctdb->num_connected = r->num_connected;
 }