diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-12-06 10:50:21 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-12-06 10:50:21 +0000 |
commit | a3ed89556a77fae53dbe1634e4e8f0b265a93092 (patch) | |
tree | 8441eb81778240af5f611b52437aafc3b5e4c802 /epan | |
parent | 08a727307c625a2496fd1f0e52881ccf6a5ffe7d (diff) |
protocol discriminator byte has to be taken into info_element_len
svn path=/trunk/; revision=16698
Diffstat (limited to 'epan')
-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 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 |