aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-samr.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-10 02:23:17 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-10 02:23:17 +0000
commite9c58fda325bbdeecececb25a1cc12b3146f455b (patch)
tree175e1b4f9c74037a318a9d66d84da77e8e0188f0 /packet-dcerpc-samr.c
parenta5d16063947e1789440a012d95cd0410f354b6d6 (diff)
From Ronnie Sahlberg: display the SAMR "Account Control" field in hex.
svn path=/trunk/; revision=4714
Diffstat (limited to 'packet-dcerpc-samr.c')
-rw-r--r--packet-dcerpc-samr.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-dcerpc-samr.c b/packet-dcerpc-samr.c
index 5c671ac14d..d480f23449 100644
--- a/packet-dcerpc-samr.c
+++ b/packet-dcerpc-samr.c
@@ -2,7 +2,7 @@
* Routines for SMB \\PIPE\\samr packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
- * $Id: packet-dcerpc-samr.c,v 1.8 2002/02/08 11:02:03 guy Exp $
+ * $Id: packet-dcerpc-samr.c,v 1.9 2002/02/10 02:23:17 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -115,7 +115,6 @@ int hf_nt_str_max_len = -1;
int hf_nt_string_length = -1;
int hf_nt_string_size = -1;
-
static gint ett_dcerpc_samr = -1;
gint ett_nt_unicode_string = -1; /* used by packet-dcerpc-nt.c*/
static gint ett_samr_user_dispinfo_1 = -1;
@@ -128,6 +127,8 @@ static e_uuid_t uuid_dcerpc_samr = {
static guint16 ver_dcerpc_samr = 1;
+
+
/* functions to dissect a UNICODE_STRING structure, common to many
NT services
struct {
@@ -3536,7 +3537,7 @@ proto_register_dcerpc_samr(void)
NULL, 0x0, "Index", HFILL }},
{ &hf_samr_acct_ctrl,
- { "Acct Ctrl", "samr.acct_ctrl", FT_UINT32, BASE_DEC,
+ { "Acct Ctrl", "samr.acct_ctrl", FT_UINT32, BASE_HEX,
NULL, 0x0, "Acct CTRL", HFILL }},
{ &hf_samr_count,