aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sdp.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2018-12-03 15:04:51 +0100
committerAnders Broman <a.broman58@gmail.com>2018-12-03 17:01:03 +0000
commit228da02fda4d7d81a2b00fe73ed28cce718cb5ef (patch)
tree6df7bd265cd62c0df21c5dcbdd6c337af4fbdd1e /epan/dissectors/packet-sdp.c
parent8bd0616621effc9bd638b192227a2792f6644254 (diff)
RTP: Restructure call id handling.
Change-Id: Id5471ad6e7051a7e00fd82d25d58912ef8ad886e Reviewed-on: https://code.wireshark.org/review/30898 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-sdp.c')
-rw-r--r--epan/dissectors/packet-sdp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sdp.c b/epan/dissectors/packet-sdp.c
index 1e9faa258d..9c0715f263 100644
--- a/epan/dissectors/packet-sdp.c
+++ b/epan/dissectors/packet-sdp.c
@@ -2837,6 +2837,9 @@ dissect_sdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
if (stored_setup_info->hf_type == SDP_TRACE_ID_HF_TYPE_STR) {
item = proto_tree_add_string(sdp_tree, stored_setup_info->hf_id, tvb, 0, 0, stored_setup_info->trace_id);
PROTO_ITEM_SET_GENERATED(item);
+ } else if (stored_setup_info->hf_type == SDP_TRACE_ID_HF_TYPE_GUINT32) {
+ item = proto_tree_add_uint(sdp_tree, stored_setup_info->hf_id, tvb, 0, 0, stored_setup_info->trace_id_num);
+ PROTO_ITEM_SET_GENERATED(item);
}
}
}