aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2004-09-20 19:22:10 +0000
committerAnders Broman <anders.broman@ericsson.com>2004-09-20 19:22:10 +0000
commit356e4e92477e1112abf45b4d936654dde1640afd (patch)
treed45a17c900763296bbff001e36452ee7329317be
parent6f60bd99c3d4f63e7d56496892db7f3ec6034798 (diff)
From Martin Mathieson: Fix a simple bug, in calculate_roundtrip_delay(), where the conversation is looked up, the port arguments are given in reverse order.
svn path=/trunk/; revision=12055
-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 0bf3f4788f..408be00024 100644
--- a/epan/dissectors/packet-rtcp.c
+++ b/epan/dissectors/packet-rtcp.c
@@ -1067,7 +1067,7 @@ static void calculate_roundtrip_delay(tvbuff_t *tvb, packet_info *pinfo,
/* of this packet */
p_conv = find_conversation(&pinfo->net_src, &pinfo->net_dst,
pinfo->ptype,
- pinfo->destport, pinfo->srcport, NO_ADDR_B);
+ pinfo->srcport, pinfo->destport, NO_ADDR_B);
if (!p_conv)
{
return;
@@ -1978,7 +1978,7 @@ proto_register_rtcp(void)
&global_rtcp_heur);
prefs_register_bool_preference(rtcp_module, "show_roundtrip_calculation",
- "Show SR roundtrip calculations",
+ "Show relative roundtrip calculations",
"Try to work out network delay by comparing time between packets "
"as captured and delays as seen by endpoint",
&global_rtcp_show_roundtrip_calculation);