aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-giop.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-10 19:53:12 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-10 19:53:12 +0000
commitcdb0531993c2bcd6274fa8f51b4f2c13d0d2edf7 (patch)
tree82f2dded1503f330d103ff2b33dc131f97191183 /epan/dissectors/packet-giop.c
parent7c26b6351d8720b8fd90e47a3215184e032292c4 (diff)
From Steve Osselton:
GIOP dissector update for MIOP. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3847 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29369 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-giop.c')
-rw-r--r--epan/dissectors/packet-giop.c13
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)