summaryrefslogtreecommitdiff
path: root/source3/smbparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbparse.c')
-rw-r--r--source3/smbparse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbparse.c b/source3/smbparse.c
index 7c42ae52b0..1cafef8096 100644
--- a/source3/smbparse.c
+++ b/source3/smbparse.c
@@ -626,8 +626,8 @@ void make_rpc_header(RPC_HDR *hdr, enum RPC_PKT_TYPE pkt_type,
hdr->call_id = call_id; /* call identifier - match incoming RPC */
hdr->alloc_hint = data_len - 0x18; /* allocation hint (no idea) */
hdr->context_id = 0; /* presentation context identifier */
- hdr->cancel_count = 0; /* cancel count. */
- hdr->reserved = opnum; /* response: reserved. request: opnum */
+ hdr->cancel_count = opnum; /* reply: cancel count. request: opnum */
+ hdr->reserved = 0; /* reserved */
}
/*******************************************************************