summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-04-17 17:11:12 +1000
committerAndrew Tridgell <tridge@samba.org>2007-04-17 17:11:12 +1000
commit6fce6e419a4e65ab1e23ad4001b71cdbfa5edf29 (patch)
treeb4f7cbfcf4bce1a3d59c2c187b26d611d952ea35
parent5d8bf8e781d529dda357973e40d16bb9ae39fbf4 (diff)
downloadsamba-6fce6e419a4e65ab1e23ad4001b71cdbfa5edf29.tar.gz
samba-6fce6e419a4e65ab1e23ad4001b71cdbfa5edf29.tar.xz
samba-6fce6e419a4e65ab1e23ad4001b71cdbfa5edf29.zip
update destination in a redirect reply
(This used to be ctdb commit b2836974ad270e823c630e3acf12327b53c37d88)
-rw-r--r--ctdb/common/ctdb_call.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/common/ctdb_call.c b/ctdb/common/ctdb_call.c
index 4b7deb1fd7..3c682d6bd6 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);
}