diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-03-22 18:24:38 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-03-22 18:24:38 +0000 |
commit | 46857df13ec7ddc5576b7b57d44bedff616bfdce (patch) | |
tree | b597d3185fdaa49240a7c034d84e6ce266a449c2 /epan/dissectors | |
parent | 0370a7977d1a342ce18e5a8afccf1af121626d8b (diff) |
Fix mask when extracting FACH Indicator.
Coverity CID 349.
svn path=/trunk/; revision=36257
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-umts_fp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-umts_fp.c b/epan/dissectors/packet-umts_fp.c index 001323ebb7..d41e2e3a50 100644 --- a/epan/dissectors/packet-umts_fp.c +++ b/epan/dissectors/packet-umts_fp.c @@ -3079,7 +3079,7 @@ static void dissect_hsdsch_type_2_channel_info(tvbuff_t *tvb, packet_info *pinfo offset++; /* FACH Indicator flag */ - fach_present = (tvb_get_guint8(tvb, offset) & 0x08) >> 7; + fach_present = (tvb_get_guint8(tvb, offset) & 0x80) >> 7; proto_tree_add_item(tree, hf_fp_fach_indicator, tvb, offset, 1, FALSE); offset++; |