diff options
author | Anders Broman <anders.broman@ericsson.com> | 2005-10-10 20:38:28 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2005-10-10 20:38:28 +0000 |
commit | 3f7ed7c2a2bcf4e5bdcf759f668758113e833673 (patch) | |
tree | da7b41d82f4240e595096fb9ae475f98b89c7300 /epan/dissectors/packet-h225.c | |
parent | b12b8769887e92f3a9e3985ec2e012ee5d860da5 (diff) |
Fix problems with bitstring:
- dissect_per_bitstring needs to know if extention exists or not.
- Fixes for bitstring sizes up to 16 ( where max = min ).
svn path=/trunk/; revision=16181
Diffstat (limited to 'epan/dissectors/packet-h225.c')
-rw-r--r-- | epan/dissectors/packet-h225.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-h225.c b/epan/dissectors/packet-h225.c index c4c1c27af0..0e2b447723 100644 --- a/epan/dissectors/packet-h225.c +++ b/epan/dissectors/packet-h225.c @@ -3810,7 +3810,7 @@ static int dissect_almostOutOfResources(tvbuff_t *tvb, int offset, packet_info * static int dissect_h225_BIT_STRING_SIZE_32(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, - 32, 32); + 32, 32, FALSE); return offset; } @@ -6899,7 +6899,7 @@ static int dissect_integrity_item(tvbuff_t *tvb, int offset, packet_info *pinfo, static int dissect_h225_BIT_STRING(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { offset = dissect_per_bit_string(tvb, offset, pinfo, tree, hf_index, - -1, -1); + -1, -1, FALSE); return offset; } |