diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-22 18:24:38 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-03-22 18:24:38 +0000 |
commit | 0622bac349167dd9a23c2414271898f48ba14b05 (patch) | |
tree | b597d3185fdaa49240a7c034d84e6ce266a449c2 /epan/dissectors/packet-umts_fp.c | |
parent | dd0dfb68651bbb61bfc37ec401c81ac9fc0a0cc0 (diff) |
Fix mask when extracting FACH Indicator.
Coverity CID 349.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36257 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-umts_fp.c')
-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++; |