diff options
author | Anders Broman <anders.broman@ericsson.com> | 2009-08-10 19:53:12 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2009-08-10 19:53:12 +0000 |
commit | 72d8e6ad54b313543af07d459be1b35846648478 (patch) | |
tree | 82f2dded1503f330d103ff2b33dc131f97191183 /epan/dissectors/packet-giop.c | |
parent | 6c352a2959a15a387eebbef3f9e56ac8d12e4475 (diff) |
From Steve Osselton:
GIOP dissector update for MIOP.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3847
svn path=/trunk/; revision=29369
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r-- | epan/dissectors/packet-giop.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/epan/dissectors/packet-giop.c b/epan/dissectors/packet-giop.c index 830fcbfdc7..96936260b2 100644 --- a/epan/dissectors/packet-giop.c +++ b/epan/dissectors/packet-giop.c @@ -497,6 +497,7 @@ static const value_string profile_id_vals[] = { { 0x0, "TAG_INTERNET_IOP" }, { 0x1, "TAG_MULTIPLE_COMPONENTS"}, { 0x2, "TAG_SCCP_IOP"}, + { 0x3, "TAG_UIPMC"}, { 0, NULL} }; @@ -2804,13 +2805,21 @@ dissect_target_address(tvbuff_t * tvb, packet_info *pinfo, int *offset, proto_tr gchar *p_object_key; guint32 len = 0; guint32 u_octet4; + const char * name; object_key = NULL; discriminant = get_CDR_ushort(tvb, offset, stream_is_big_endian,GIOP_HEADER_SIZE); if(tree) { - proto_tree_add_text (tree, tvb, *offset -2, 2, - "TargetAddress Discriminant: %u", discriminant); + switch (discriminant) + { + case 0: name = "KeyAddr"; break; + case 1: name = "ProfileAddr"; break; + case 2: name = "ReferenceAddr"; break; + default: name = "Unknown"; break; + } + + proto_tree_add_text (tree, tvb, *offset -2, 2, "TargetAddress: %s", name); } switch (discriminant) |