aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-q931.c
diff options
context:
space:
mode:
authorkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2005-12-06 10:50:21 +0000
committerkukosa <kukosa@f5534014-38df-0310-8fa8-9805f1628bb7>2005-12-06 10:50:21 +0000
commit34e235472bb2f8a365c3b2e7e8969c0840a01a3b (patch)
tree8441eb81778240af5f611b52437aafc3b5e4c802 /epan/dissectors/packet-q931.c
parent3711b2a34aa9de93d8c00ced081ebe934419e71e (diff)
protocol discriminator byte has to be taken into info_element_len
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16698 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 dacb59e4e8..d19189b6f5 100644
--- a/epan/dissectors/packet-q931.c
+++ b/epan/dissectors/packet-q931.c
@@ -2633,7 +2633,7 @@ dissect_q931_IEs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *root_tree,
* to the actual size in the frame
*/
if (!pinfo->can_desegment) {
- info_element_len = min(info_element_len, tvb_length_remaining(tvb, offset + 4));
+ info_element_len = min(info_element_len, tvb_length_remaining(tvb, offset + 3));
}
/*
* Do we have a handle for the H.225