From: Andrew Tridgell Date: Tue, 17 Apr 2007 07:11:12 +0000 (+1000) Subject: update destination in a redirect reply X-Git-Tag: tevent-0.9.20~348^2~2895 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fce6e419a4e65ab1e23ad4001b71cdbfa5edf29;p=thirdparty%2Fsamba.git update destination in a redirect reply (This used to be ctdb commit b2836974ad270e823c630e3acf12327b53c37d88) --- diff --git a/ctdb/common/ctdb_call.c b/ctdb/common/ctdb_call.c index 4b7deb1fd7b..3c682d6bd63 100644 --- a/ctdb/common/ctdb_call.c +++ b/ctdb/common/ctdb_call.c @@ -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); }