diff options
author | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-13 20:29:51 +0000 |
---|---|---|
committer | jake <jake@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-06-13 20:29:51 +0000 |
commit | 65ecb95a3c336ba233b9925a72ede8f695bf3f16 (patch) | |
tree | 83328dbac1c8a2cbf8e41105eeaebd2bd663baff /epan/dissectors/packet-q931.c | |
parent | e224ee8ebc3c661b6c7b74b3ca29992873144a5d (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.c | 2 |
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; } |