diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-11-29 12:14:53 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-11-29 12:14:53 +0000 |
commit | cec78c65186b99ac294e1936000072f6f23939c5 (patch) | |
tree | 222b1d3e60dacd6b995fa11bd11161f336043c21 /ui/gtk/rtp_stream_dlg.c | |
parent | f4de95f1e3901ff7544f0d4ee945fbcab832e148 (diff) |
From Michal Labedzki:
Src/dst ports are stored as guint32 in packet_info, so do the same
for RTP ports. This also fix no stream after analyze when
there is used high port, for example 0xFFFFFFFF. So there is
casting to 0xFFFF and comparing to 32bit value and finally fail.
Part of:
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5032
svn path=/trunk/; revision=46277
Diffstat (limited to 'ui/gtk/rtp_stream_dlg.c')
-rw-r--r-- | ui/gtk/rtp_stream_dlg.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/rtp_stream_dlg.c b/ui/gtk/rtp_stream_dlg.c index 227056e176..4135afdf84 100644 --- a/ui/gtk/rtp_stream_dlg.c +++ b/ui/gtk/rtp_stream_dlg.c @@ -500,14 +500,14 @@ static void rtpstream_on_analyse(GtkButton *button _U_, gpointer user_data _U_) { address ip_src_fwd; - guint16 port_src_fwd = 0; + guint32 port_src_fwd = 0; address ip_dst_fwd; - guint16 port_dst_fwd = 0; + guint32 port_dst_fwd = 0; guint32 ssrc_fwd = 0; address ip_src_rev; - guint16 port_src_rev = 0; + guint32 port_src_rev = 0; address ip_dst_rev; - guint16 port_dst_rev = 0; + guint32 port_dst_rev = 0; guint32 ssrc_rev = 0; if (!(selected_stream_fwd || selected_stream_rev)) |