From 50b37822a0fa2efecdddd695e2b08a148aece7fd Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 22 Aug 2002 01:13:13 +0000 Subject: Some cleanups and fixes from Guy: - combine proto_tree_add_text() and proto_tree_append_text() calls in the access mask dissector - make the specific access bits dissector functions return void instead of an offset I think Samba has the create user reply wrong. There is perhaps a uint32 marked as unknown that shouldn't be there. Removing this parses all the captures I have. svn path=/trunk/; revision=6057 --- packet-dcerpc-nt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packet-dcerpc-nt.h') diff --git a/packet-dcerpc-nt.h b/packet-dcerpc-nt.h index 9d2a85e798..745140ba2c 100644 --- a/packet-dcerpc-nt.h +++ b/packet-dcerpc-nt.h @@ -2,7 +2,7 @@ * Routines for DCERPC over SMB packet disassembly * Copyright 2001, Tim Potter * - * $Id: packet-dcerpc-nt.h,v 1.28 2002/08/21 21:29:22 tpot Exp $ + * $Id: packet-dcerpc-nt.h,v 1.29 2002/08/22 01:13:12 tpot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -211,8 +211,8 @@ int dissect_ndr_uint16s(tvbuff_t *tvb, gint offset, packet_info *pinfo, /* Dissect an NT access mask */ -typedef int (nt_access_mask_fn_t)(tvbuff_t *tvb, gint offset, - proto_tree *tree, guint32 access); +typedef void (nt_access_mask_fn_t)(tvbuff_t *tvb, gint offset, + proto_tree *tree, guint32 access); int dissect_nt_access_mask(tvbuff_t *tvb, gint offset, packet_info *pinfo, -- cgit v1.2.3