From 46857df13ec7ddc5576b7b57d44bedff616bfdce Mon Sep 17 00:00:00 2001 From: Martin Mathieson Date: Tue, 22 Mar 2011 18:24:38 +0000 Subject: Fix mask when extracting FACH Indicator. Coverity CID 349. svn path=/trunk/; revision=36257 --- epan/dissectors/packet-umts_fp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors') 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++; -- cgit v1.2.3