summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-dcerpc-nt.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2011-09-10 11:15:20 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2011-09-10 11:15:20 +0000
commit7ec441d440b3f4fef45cb2287542764368a0fdec (patch)
treee89ef85ca64b2e0137aa951f185fe4c5d2d6f16e /epan/dissectors/packet-dcerpc-nt.c
parentc8edaa4b36f9071f24ccf2d7cb09a081c013caf2 (diff)
downloadwireshark-7ec441d440b3f4fef45cb2287542764368a0fdec.tar.gz
DCE/RPC: FRSRPC: updates to the FRS dissector
From: Matthieu Patou <mat@matws.net> svn path=/trunk/; revision=38958
Diffstat (limited to 'epan/dissectors/packet-dcerpc-nt.c')
-rw-r--r--epan/dissectors/packet-dcerpc-nt.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc-nt.c b/epan/dissectors/packet-dcerpc-nt.c
index 724d4b4f07..3a0107c7b1 100644
--- a/epan/dissectors/packet-dcerpc-nt.c
+++ b/epan/dissectors/packet-dcerpc-nt.c
@@ -46,7 +46,7 @@ int hf_nt_error;
int hf_nt_cs_size = -1;
static int hf_lsa_String_name_len = -1;
static int hf_lsa_String_name_size = -1;
-
+static int hf_nt_data_blob_len = -1;
static gint ett_nt_unicode_string = -1;
static gint ett_lsa_String = -1;
@@ -96,9 +96,9 @@ dissect_ndr_datablob(tvbuff_t *tvb, int offset, packet_info *pinfo,
len = tvb_length_remaining (tvb, offset);
} else {
offset = dissect_ndr_uint32(tvb, offset, pinfo, subtree, drep,
- hf_index, &len);
+ hf_nt_data_blob_len, &len);
}
- proto_tree_add_text(tree, tvb, offset, len, "Blob data");
+ proto_tree_add_text(subtree, tvb, offset, len, "Blob data");
offset += len;
return offset;
}
@@ -1968,6 +1968,10 @@ void dcerpc_smb_init(int proto_dcerpc)
{ &hf_lsa_String_name_size,
{ "Name Size", "dcerpc.lsa_String.name_size",
FT_UINT16, BASE_DEC, NULL, 0, NULL, HFILL }},
+
+ { &hf_nt_data_blob_len,
+ { "Blob size", "dcerpc.nt.blob.size",
+ FT_UINT32, BASE_DEC, NULL, 0, NULL, HFILL }},
};
static gint *ett[] = {