From 3f7ed7c2a2bcf4e5bdcf759f668758113e833673 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 10 Oct 2005 20:38:28 +0000 Subject: 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 --- epan/dissectors/packet-h225.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-h225.c') 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; } -- cgit v1.2.3