summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-03-08 16:26:34 +0100
committerMichael Adam <obnox@samba.org>2011-03-31 18:10:22 +0200
commit0e240bd6a96f1270509bd12e7b083bef7d55e99f (patch)
tree5d33686fe67af0603e8b8da49dc728c3943a8174
parent6cc8457cd52437eaa0a1e9f3e16b5d334da27da5 (diff)
downloadsamba-0e240bd6a96f1270509bd12e7b083bef7d55e99f.tar.gz
samba-0e240bd6a96f1270509bd12e7b083bef7d55e99f.tar.bz2
samba-0e240bd6a96f1270509bd12e7b083bef7d55e99f.zip
s3:ctdb: pass the ctdb control flags to the ctdb daemon when sending the control
The only flag that is currently used is the NOREPLY flag to indicate that the client expects no reply packet. This needs to get passed down to the ctdb daemon so that it really does not send a reply.
-rw-r--r--source3/lib/ctdbd_conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index cad28a8cd6..a81691a8c9 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -818,6 +818,7 @@ static NTSTATUS ctdbd_control(struct ctdbd_connection *conn,
req.opcode = opcode;
req.srvid = srvid;
req.datalen = data.dsize;
+ req.flags = flags;
DEBUG(10, ("ctdbd_control: Sending ctdb packet\n"));
ctdb_packet_dump(&req.hdr);