aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-lsa.c
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-lsa.c
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-lsa.c')
-rw-r--r--packet-dcerpc-lsa.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/packet-dcerpc-lsa.c b/packet-dcerpc-lsa.c
index 71e4dc0bd5..774a834cc6 100644
--- a/packet-dcerpc-lsa.c
+++ b/packet-dcerpc-lsa.c
@@ -3,7 +3,7 @@
* Copyright 2001, Tim Potter <tpot@samba.org>
* 2002 Added LSA command dissectors Ronnie Sahlberg
*
- * $Id: packet-dcerpc-lsa.c,v 1.55 2002/08/21 21:31:15 tpot Exp $
+ * $Id: packet-dcerpc-lsa.c,v 1.56 2002/08/22 01:13:12 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -398,7 +398,7 @@ static gint hf_set_audit_requirements = -1;
static gint hf_server_admin = -1;
static gint hf_lookup_names = -1;
-static int
+static void
lsa_specific_rights(tvbuff_t *tvb, gint offset, proto_tree *tree,
guint32 access)
{
@@ -445,8 +445,6 @@ lsa_specific_rights(tvbuff_t *tvb, gint offset, proto_tree *tree,
proto_tree_add_boolean(
tree, hf_view_local_info,
tvb, offset, 4, access);
-
- return offset;
}
static int