diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2007-05-31 18:41:25 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2007-05-31 18:41:25 +0000 |
commit | 2745f06d964eadbf2b08c2ae5b99c4edb250b1ef (patch) | |
tree | 3364461429695d476f97ed5adf8f0677ff7005f1 /gtk/voip_calls.c | |
parent | ef511c0bbc2dacf9b5491708f64632c55387a28e (diff) | |
download | wireshark-2745f06d964eadbf2b08c2ae5b99c4edb250b1ef.tar.gz wireshark-2745f06d964eadbf2b08c2ae5b99c4edb250b1ef.tar.bz2 wireshark-2745f06d964eadbf2b08c2ae5b99c4edb250b1ef.zip |
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.
svn path=/trunk/; revision=22017
Diffstat (limited to 'gtk/voip_calls.c')
-rw-r--r-- | gtk/voip_calls.c | 4 |
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 */ |