aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtcp.c
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2010-09-28 21:22:35 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2010-09-28 21:22:35 +0000
commitfc1cf15ea433e7b7efeb558317c0f62cb59d86d7 (patch)
tree10327e90f65bb77e242317f175b7e7451310f8de /epan/dissectors/packet-rtcp.c
parentf0428e7d0b964fd984fc2aaebe2cbc8d9c814779 (diff)
Let the protocol column show we're having Secure RTCP when we do.
svn path=/trunk/; revision=34278
Diffstat (limited to 'epan/dissectors/packet-rtcp.c')
-rw-r--r--epan/dissectors/packet-rtcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-rtcp.c b/epan/dissectors/packet-rtcp.c
index 06a0ba5bb7..1d0f7d7545 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -2660,8 +2660,6 @@ dissect_rtcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
guint32 srtcp_offset = 0;
guint32 srtcp_index = 0;
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "RTCP");
-
/* first see if this conversation is encrypted SRTP, and if so do not try to dissect the payload(s) */
p_conv = find_conversation(pinfo->fd->num, &pinfo->net_src, &pinfo->net_dst,
pinfo->ptype,
@@ -2688,6 +2686,8 @@ dissect_rtcp( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree )
}
}
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, (srtcp_info) ? "SRTCP" : "RTCP");
+
/*
* Check if there are at least 4 bytes left in the frame,
* the last 16 bits of those is the length of the current