summaryrefslogtreecommitdiff
path: root/source3/smbparse.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-12 17:07:35 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-12 17:07:35 +0000
commit78f6bc4eba9f6d68c31b1c7e35243a1b81619b0d (patch)
tree8def7586d1b5725ac8bab757f43c7263e505612e /source3/smbparse.c
parent60575a888aebec898fdaf0f6c0c8269607b2571f (diff)
downloadsamba-78f6bc4eba9f6d68c31b1c7e35243a1b81619b0d.tar.gz
samba-78f6bc4eba9f6d68c31b1c7e35243a1b81619b0d.tar.bz2
samba-78f6bc4eba9f6d68c31b1c7e35243a1b81619b0d.zip
updated rpc header reply: callid wrong; alloc hint a uint32 not a uint16.
still doesn't get rid of the netlogon trans2 request with zero data. (This used to be commit 0cf67955f09d99c452bfc3fdde00dcea98e21db1)
Diffstat (limited to 'source3/smbparse.c')
-rw-r--r--source3/smbparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbparse.c b/source3/smbparse.c
index 0c016c17d9..a0363c7108 100644
--- a/source3/smbparse.c
+++ b/source3/smbparse.c
@@ -400,7 +400,7 @@ char* smb_io_rpc_hdr(BOOL io, RPC_HDR *rpc, char *q, char *base, int align)
RW_SVAL(io, q, rpc->frag_len, 0); q += 2;
RW_SVAL(io, q, rpc->auth_len, 0); q += 2;
RW_IVAL(io, q, rpc->call_id, 0); q += 4;
- RW_SVAL(io, q, rpc->alloc_hint, 0); q += 2;
+ RW_IVAL(io, q, rpc->alloc_hint, 0); q += 4;
RW_CVAL(io, q, rpc->context_id, 0); q++;
RW_CVAL(io, q, rpc->reserved, 0); q++;