summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-12 02:14:29 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-12 02:14:29 +0000
commit930230181d6b5972156bf4da8880fd2424838071 (patch)
tree4b035e9df0048cd6f5002eb39db963b711803b26 /source3/smbd
parente13f143ec6c46a1a540339d0a48940c6312ae8d9 (diff)
downloadsamba-930230181d6b5972156bf4da8880fd2424838071.tar.gz
samba-930230181d6b5972156bf4da8880fd2424838071.tar.bz2
samba-930230181d6b5972156bf4da8880fd2424838071.zip
report the max size of raw reads as 65536 not 65535 (this now matches
what Win95 reports) (This used to be commit a4c6884f43233d57a5f6465f67c4657dd061ae43)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 86b76454e4..7bce748878 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -4014,7 +4014,7 @@ int reply_nt1(char *outbuf)
SSVAL(outbuf,smb_vwv1+1,lp_maxmux()); /* maxmpx */
SSVAL(outbuf,smb_vwv2+1,1); /* num vcs */
SIVAL(outbuf,smb_vwv3+1,0xffff); /* max buffer. LOTS! */
- SIVAL(outbuf,smb_vwv5+1,0xffff); /* raw size. LOTS! */
+ SIVAL(outbuf,smb_vwv5+1,0x10000); /* raw size. full 64k */
SIVAL(outbuf,smb_vwv7+1,getpid()); /* session key */
SIVAL(outbuf,smb_vwv9+1,capabilities); /* capabilities */
put_long_date(outbuf+smb_vwv11+1,t);