aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2006-09-24 11:10:31 +0000
committerUlf Lamping <ulf.lamping@web.de>2006-09-24 11:10:31 +0000
commit8ee212b535b0459626619d7de8e0ef3900ff03a7 (patch)
tree667c04b09770baf545dcfa28ee40d181b44e3b8e /epan
parentcb29acb89ada24d3d31653e11c8636c688bc9f40 (diff)
downloadwireshark-8ee212b535b0459626619d7de8e0ef3900ff03a7.tar.gz
wireshark-8ee212b535b0459626619d7de8e0ef3900ff03a7.tar.bz2
wireshark-8ee212b535b0459626619d7de8e0ef3900ff03a7.zip
print the connectionless interface name if such is known
svn path=/trunk/; revision=19309
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dcerpc.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/epan/dissectors/packet-dcerpc.c b/epan/dissectors/packet-dcerpc.c
index cefde5570a..a651a9e47a 100644
--- a/epan/dissectors/packet-dcerpc.c
+++ b/epan/dissectors/packet-dcerpc.c
@@ -4667,6 +4667,8 @@ dissect_dcerpc_dg (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
int offset = 0;
conversation_t *conv;
int auth_level;
+ char *uuid_str;
+ const char *uuid_name = NULL;
/*
* Check if this looks like a CL DCERPC call. All dg packets
@@ -4827,9 +4829,15 @@ dissect_dcerpc_dg (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
offset += 16;
if (tree) {
- proto_tree_add_guid_format (dcerpc_tree, hf_dcerpc_dg_if_id, tvb,
- offset, 16, (e_guid_t *) &hdr.if_id, "Interface: %s",
- guid_to_str((e_guid_t *) &hdr.if_id));
+ uuid_str = guid_to_str((e_guid_t*)&hdr.if_id);
+ uuid_name = guids_get_uuid_name(&hdr.if_id);
+ if(uuid_name) {
+ proto_tree_add_guid_format (dcerpc_tree, hf_dcerpc_dg_if_id, tvb,
+ offset, 16, (e_guid_t *) &hdr.if_id, "Interface: %s UUID: %s", uuid_name, uuid_str);
+ } else {
+ proto_tree_add_guid_format (dcerpc_tree, hf_dcerpc_dg_if_id, tvb,
+ offset, 16, (e_guid_t *) &hdr.if_id, "Interface UUID: %s", uuid_str);
+ }
}
offset += 16;