aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-umts_fp.c
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2008-06-12 16:50:23 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2008-06-12 16:50:23 +0000
commite5b6e5e8c224c49f7aaa942ff62f060f6118cf98 (patch)
treed082c55d1e2cdd8ac97b40967d0975af479109b0 /epan/dissectors/packet-umts_fp.c
parentd275348e2043ba2c1d1500e759008b8ac061f953 (diff)
Show correct seqno in info column.
svn path=/trunk/; revision=25446
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-rw-r--r--epan/dissectors/packet-umts_fp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c
index cdc5041c23..46b2fdcb7c 100644
--- a/epan/dissectors/packet-umts_fp.c
+++ b/epan/dissectors/packet-umts_fp.c
@@ -2599,7 +2599,7 @@ void dissect_hsdsch_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
if ((p_fp_info->release == 6) ||
(p_fp_info->release == 7))
{
- guint8 frame_seq_no = tvb_get_guint8(tvb, offset);
+ guint8 frame_seq_no = (tvb_get_guint8(tvb, offset) & 0xf0) >> 4;
proto_tree_add_item(tree, hf_fp_frame_seq_nr, tvb, offset, 1, FALSE);
if (check_col(pinfo->cinfo, COL_INFO))
@@ -2752,7 +2752,7 @@ void dissect_hsdsch_type_2_channel_info(tvbuff_t *tvb, packet_info *pinfo, proto
if ((p_fp_info->release == 6) ||
(p_fp_info->release == 7))
{
- guint8 frame_seq_no = tvb_get_guint8(tvb, offset);
+ guint8 frame_seq_no = (tvb_get_guint8(tvb, offset) & 0xf0) >> 4;
proto_tree_add_item(tree, hf_fp_frame_seq_nr, tvb, offset, 1, FALSE);
if (check_col(pinfo->cinfo, COL_INFO))