aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-samr.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-01-11 04:35:57 +0000
committerTim Potter <tpot@samba.org>2003-01-11 04:35:57 +0000
commit56b60052cd95d5f65e906392457520b7476b2df6 (patch)
tree0901e14405d99d511f88e5e0a12aba783b35b59f /packet-dcerpc-samr.c
parent855f004140619c58d21cea5b3a0ac5a209dea4e3 (diff)
Convert some incidental prs_* calls to dissect_dcerpc_*
equivalents. svn path=/trunk/; revision=6898
Diffstat (limited to 'packet-dcerpc-samr.c')
-rw-r--r--packet-dcerpc-samr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/packet-dcerpc-samr.c b/packet-dcerpc-samr.c
index 9cca006ddf..3b28ed24d1 100644
--- a/packet-dcerpc-samr.c
+++ b/packet-dcerpc-samr.c
@@ -3,7 +3,7 @@
* Copyright 2001, Tim Potter <tpot@samba.org>
* 2002 Added all command dissectors Ronnie Sahlberg
*
- * $Id: packet-dcerpc-samr.c,v 1.63 2002/12/11 19:31:02 guy Exp $
+ * $Id: packet-dcerpc-samr.c,v 1.64 2003/01/11 04:35:57 tpot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -129,6 +129,7 @@ static int hf_samr_unknown_string = -1;
static int hf_samr_unknown_time = -1;
/* these are used by functions in packet-dcerpc-nt.c */
+int hf_nt_str = -1;
int hf_nt_str_len = -1;
int hf_nt_str_off = -1;
int hf_nt_str_max_len = -1;
@@ -5201,6 +5202,10 @@ proto_register_dcerpc_samr(void)
{ "Size", "nt.string.size", FT_UINT16, BASE_DEC,
NULL, 0x0, "Size of string in bytes", HFILL }},
+ { &hf_nt_str,
+ { "String", "nt.str.", FT_STRING, BASE_NONE,
+ NULL, 0x0, "String data", HFILL }},
+
{ &hf_nt_str_len,
{ "Length", "nt.str.len", FT_UINT32, BASE_DEC,
NULL, 0x0, "Length of string in short integers", HFILL }},