diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-03-24 12:25:40 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-03-24 12:25:40 +0000 |
commit | 02115cdb39d8a6bcd94e11c9904ed94fcc4e05e0 (patch) | |
tree | 8263d821d083a46e0d9116b26930cd9216f2f954 /packet-dcerpc-samr.c | |
parent | c9396446fb4c2ed7fa2bbe374eb997aa6ea240b3 (diff) |
Fix "dissect_ndr_nt_UNICODE_STRING_str()" so that the "di->levels" value
is decremented after every level is appended to, so that it correctly
specifies the number of levels up the tree to which to append stuff.
Fix some arguments to various printing routines to specify the correct
level. This includes making "dissect_ndr_nt_UNICODE_STRING()" add 1 to
the level argument it's passed before passing it on to
"dissect_ndr_pointer()".
Add a "netlogon_dissect_UNICODE_STRING()" routine to put the fields of a
bunch of NDR_POINTER_REF UNICODE_STRING values into subtrees.
Fix the labels passed as arguments in a bunch of "dissect_ndr_pointer()"
calls.
svn path=/trunk/; revision=5011
Diffstat (limited to 'packet-dcerpc-samr.c')
-rw-r--r-- | packet-dcerpc-samr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packet-dcerpc-samr.c b/packet-dcerpc-samr.c index 54b51163e5..06a7ed3f73 100644 --- a/packet-dcerpc-samr.c +++ b/packet-dcerpc-samr.c @@ -3,7 +3,7 @@ * Copyright 2001, Tim Potter <tpot@samba.org> * 2002 Added all command dissectors Ronnie Sahlberg * - * $Id: packet-dcerpc-samr.c,v 1.25 2002/03/14 10:04:02 sahlberg Exp $ + * $Id: packet-dcerpc-samr.c,v 1.26 2002/03/24 12:25:40 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -878,7 +878,7 @@ samr_dissect_connect2_rqst(tvbuff_t *tvb, int offset, { offset = dissect_ndr_pointer(tvb, offset, pinfo, tree, drep, samr_dissect_connect2_server, NDR_POINTER_UNIQUE, - "Server", hf_samr_server, 0); + "Server", hf_samr_server, 1); offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep, hf_samr_access, NULL); |