summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-10-26 10:58:25 +0200
committerVolker Lendecke <vlendec@samba.org>2011-10-27 20:28:31 +0200
commitc2edecf6bd3df1be7b94cbe7dc29f308b9b1d8e0 (patch)
tree3b16d80cf9e87627e1251640e508284d054463bb /source3/lib
parent2cf1347211aab592437af81af312026151e578dd (diff)
downloadsamba-c2edecf6bd3df1be7b94cbe7dc29f308b9b1d8e0.tar.gz
samba-c2edecf6bd3df1be7b94cbe7dc29f308b9b1d8e0.tar.bz2
samba-c2edecf6bd3df1be7b94cbe7dc29f308b9b1d8e0.zip
s3-ctdb: Allow ctdb_read_req to read any reqid
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/ctdbd_conn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index d4786659d0..f94860a762 100644
--- a/source3/lib/ctdbd_conn.c
+++ b/source3/lib/ctdbd_conn.c
@@ -499,7 +499,7 @@ static NTSTATUS ctdb_read_req(struct ctdbd_connection *conn, uint32 reqid,
goto next_pkt;
}
- if (hdr->reqid != reqid) {
+ if ((reqid != 0) && (hdr->reqid != reqid)) {
/* we got the wrong reply */
DEBUG(0,("Discarding mismatched ctdb reqid %u should have "
"been %u\n", hdr->reqid, reqid));