From 02115cdb39d8a6bcd94e11c9904ed94fcc4e05e0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 24 Mar 2002 12:25:40 +0000 Subject: 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 --- packet-dcerpc-samr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packet-dcerpc-samr.c') 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 * 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 @@ -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); -- cgit v1.2.3