aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-q931.c
diff options
context:
space:
mode:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-13 20:29:51 +0000
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>2011-06-13 20:29:51 +0000
commit65ecb95a3c336ba233b9925a72ede8f695bf3f16 (patch)
tree83328dbac1c8a2cbf8e41105eeaebd2bd663baff /epan/dissectors/packet-q931.c
parente224ee8ebc3c661b6c7b74b3ca29992873144a5d (diff)
Fix for bug 6009:
Information transfer rate is a 7 bit field. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37663 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-q931.c')
-rw-r--r--epan/dissectors/packet-q931.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-q931.c b/epan/dissectors/packet-q931.c
index 850a968634..5a20758f6e 100644
--- a/epan/dissectors/packet-q931.c
+++ b/epan/dissectors/packet-q931.c
@@ -808,7 +808,7 @@ dissect_q931_bearer_capability_ie(tvbuff_t *tvb, int offset, int len,
if (it_rate == Q931_IT_RATE_MULTIRATE) {
if (len == 0)
return;
- proto_tree_add_text(tree, tvb, offset, 1, "Rate multiplier: %u", tvb_get_guint8(tvb, offset));
+ proto_tree_add_text(tree, tvb, offset, 1, "Rate multiplier: %u", tvb_get_guint8(tvb, offset) & 0x7f);
offset += 1;
len -= 1;
}