aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-22 01:13:13 +0000
committerTim Potter <tpot@samba.org>2002-08-22 01:13:13 +0000
commit50b37822a0fa2efecdddd695e2b08a148aece7fd (patch)
tree285a7efcdc25f48252bede231d1ce7fe0d553ad7 /packet-dcerpc-nt.h
parente09e2a27545931584f230bf856ad3654ffbd4130 (diff)
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
Diffstat (limited to 'packet-dcerpc-nt.h')
-rw-r--r--packet-dcerpc-nt.h6
1 files changed, 3 insertions, 3 deletions
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 <tpot@samba.org>
*
- * $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 <gerald@ethereal.com>
@@ -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,