summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2012-02-27 05:56:57 -0800
committerJeremy Allison <jra@samba.org>2012-03-09 16:48:15 -0800
commit880f64b5560b0b27d7f1313c8a78044d871d27ad (patch)
treeeeee5908fd390b91614f162eb7039ff5c1e96db3 /source3
parent1e8141f40ae7b67a45906f26483caff0a7cca7ed (diff)
downloadsamba-880f64b5560b0b27d7f1313c8a78044d871d27ad.tar.gz
samba-880f64b5560b0b27d7f1313c8a78044d871d27ad.tar.bz2
samba-880f64b5560b0b27d7f1313c8a78044d871d27ad.zip
s3:smb2_server use the correct variables for max read/write
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/smb2_negprot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c
index d971fba034..dd27700c7b 100644
--- a/source3/smbd/smb2_negprot.c
+++ b/source3/smbd/smb2_negprot.c
@@ -261,8 +261,8 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req)
SIVAL(outbody.data, 0x18,
capabilities); /* capabilities */
SIVAL(outbody.data, 0x1C, max_trans); /* max transact size */
- SIVAL(outbody.data, 0x20, max_trans); /* max read size */
- SIVAL(outbody.data, 0x24, max_trans); /* max write size */
+ SIVAL(outbody.data, 0x20, max_read); /* max read size */
+ SIVAL(outbody.data, 0x24, max_write); /* max write size */
SBVAL(outbody.data, 0x28, 0); /* system time */
SBVAL(outbody.data, 0x30, 0); /* server start time */
SSVAL(outbody.data, 0x38,