aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.c
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-24 10:42:13 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-06-24 10:42:13 +0000
commit8582f4c6cd7db4d67701efea0dfa8a4b2e3dead3 (patch)
treeab04f6261b2c3da30a9c2f44d94a38a4276efad3 /epan/dissectors/packet-gsm_a_rr.c
parent4f2724053fb2cea57e8c8c921d9a6bc8479c37b9 (diff)
from Sylvain Munaut:
SDCCH8 subchannel decoding error in GSM RR dissector Summary: SDCCH8 subchannel decoding error in GSM RR dissector https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4910 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33312 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index e72222b07a..75d9e989c3 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -1557,7 +1557,7 @@ de_rr_ch_dsc(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_, gch
else if ((oct8 & 0xc0) == 0x40)
{
str = "SDCCH/8 + SACCH/C8 or CBCH (SDCCH/8), Subchannel";
- subchannel = ((oct8 % 0x38)>>3);
+ subchannel = ((oct8 & 0x38)>>3);
} else {
str = "Unknown channel information";
subchannel = oct8;