]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
update destination in a redirect reply
authorAndrew Tridgell <tridge@samba.org>
Tue, 17 Apr 2007 07:11:12 +0000 (17:11 +1000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 17 Apr 2007 07:11:12 +0000 (17:11 +1000)
(This used to be ctdb commit b2836974ad270e823c630e3acf12327b53c37d88)

ctdb/common/ctdb_call.c

index 4b7deb1fd7bcaf750470af559a8ee044efcf0135..3c682d6bd634b480602b92ad6d5170daaa4fda0a 100644 (file)
@@ -529,6 +529,7 @@ void ctdb_reply_redirect(struct ctdb_context *ctdb, struct ctdb_req_header *hdr)
 
        /* send it off again */
        state->node = ctdb->nodes[c->dmaster];
+       state->c->hdr.destnode = c->dmaster;
 
        ctdb_queue_packet(ctdb, &state->c->hdr);
 }