aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/voip_calls.c
diff options
context:
space:
mode:
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-31 18:41:25 +0000
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>2007-05-31 18:41:25 +0000
commit34e199cb11b873033d74b7effdd838de2217c152 (patch)
tree3364461429695d476f97ed5adf8f0677ff7005f1 /gtk/voip_calls.c
parent5db2c29cac31cb73ebbe163fcb63e4fec163a6cb (diff)
From Lars Ruoff:
find attached several trivial diffs for viewing RTP SSRC values in Hex rather than Dec at various places in the UI. Also includes change from BASE_DEC to BASE_HEX_DEC for corresponding RTP and RTCP dissector header fields. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22017 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r--gtk/voip_calls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/voip_calls.c b/gtk/voip_calls.c
index bee6c0f8b6..7e2b7f2336 100644
--- a/gtk/voip_calls.c
+++ b/gtk/voip_calls.c
@@ -595,7 +595,7 @@ static void RTP_packet_draw(void *prs _U_)
if (rtp_listinfo->first_frame_num == gai->frame_num){
duration = (rtp_listinfo->stop_rel_sec*1000000 + rtp_listinfo->stop_rel_usec) - (rtp_listinfo->start_rel_sec*1000000 + rtp_listinfo->start_rel_usec);
g_free(gai->comment);
- gai->comment = g_strdup_printf("RTP Num packets:%u Duration:%u.%03us ssrc:%u", rtp_listinfo->npackets, duration/1000000,(duration%1000000)/1000, rtp_listinfo->ssrc);
+ gai->comment = g_strdup_printf("RTP Num packets:%u Duration:%u.%03us SSRC:0x%X", rtp_listinfo->npackets, duration/1000000,(duration%1000000)/1000, rtp_listinfo->ssrc);
break;
}
@@ -615,7 +615,7 @@ static void RTP_packet_draw(void *prs _U_)
duration = (rtp_listinfo->stop_rel_sec*1000000 + rtp_listinfo->stop_rel_usec) - (rtp_listinfo->start_rel_sec*1000000 + rtp_listinfo->start_rel_usec);
new_gai->frame_label = g_strdup_printf("RTP (%s) %s", rtp_listinfo->pt_str, (rtp_listinfo->rtp_event == -1)?"":val_to_str(rtp_listinfo->rtp_event, rtp_event_type_values, "Unknown RTP Event"));
g_free(rtp_listinfo->pt_str);
- new_gai->comment = g_strdup_printf("RTP Num packets:%u Duration:%u.%03us ssrc:%u", rtp_listinfo->npackets, duration/1000000,(duration%1000000)/1000, rtp_listinfo->ssrc);
+ new_gai->comment = g_strdup_printf("RTP Num packets:%u Duration:%u.%03us SSRC:0x%X", rtp_listinfo->npackets, duration/1000000,(duration%1000000)/1000, rtp_listinfo->ssrc);
new_gai->conv_num = conv_num;
new_gai->display=FALSE;
new_gai->line_style = 2; /* the arrow line will be 2 pixels width */