summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2/transport.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-16 06:36:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:19 -0500
commitb16543648e3cee12d6daf6d2d01c57fe1d13d6eb (patch)
tree19de592ce42a984e0f1d63c491c3c600a326abe5 /source4/libcli/smb2/transport.c
parentbaa3cba4c461fe62abe7bb65dc3fdbdc5007ef5f (diff)
downloadsamba-b16543648e3cee12d6daf6d2d01c57fe1d13d6eb.tar.gz
samba-b16543648e3cee12d6daf6d2d01c57fe1d13d6eb.tar.bz2
samba-b16543648e3cee12d6daf6d2d01c57fe1d13d6eb.zip
r11737: use _smb_setlen2() to allow for 24 bit lengths in SMB2 packets
(This used to be commit 54fda24379ca1a20d6de2edf64dd79b3fe80a37d)
Diffstat (limited to 'source4/libcli/smb2/transport.c')
-rw-r--r--source4/libcli/smb2/transport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/transport.c b/source4/libcli/smb2/transport.c
index c6fc890e34..083034a547 100644
--- a/source4/libcli/smb2/transport.c
+++ b/source4/libcli/smb2/transport.c
@@ -251,7 +251,7 @@ void smb2_transport_send(struct smb2_request *req)
DATA_BLOB blob;
NTSTATUS status;
- _smb_setlen(req->out.buffer, req->out.size - NBT_HDR_SIZE);
+ _smb_setlen2(req->out.buffer, req->out.size - NBT_HDR_SIZE);
DEBUG(2, ("SMB2 send seqnum=0x%llx\n", req->seqnum));
dump_data(5, req->out.body, req->out.body_size);