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-h235.c | |
parent | b12b8769887e92f3a9e3985ec2e012ee5d860da5 (diff) | |
download | wireshark-3f7ed7c2a2bcf4e5bdcf759f668758113e833673.tar.gz |
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-h235.c')
-rw-r--r-- | epan/dissectors/packet-h235.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h235.c b/epan/dissectors/packet-h235.c index 95703219e9..cb9a36f03e 100644 --- a/epan/dissectors/packet-h235.c +++ b/epan/dissectors/packet-h235.c @@ -239,7 +239,7 @@ static int dissect_sendersID(tvbuff_t *tvb, int offset, packet_info *pinfo, prot static int dissect_h235_KeyMaterial(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, 2048); + 1, 2048, FALSE); return offset; } @@ -328,7 +328,7 @@ static int dissect_nonStandard(tvbuff_t *tvb, int offset, packet_info *pinfo, pr static int dissect_h235_BIT_STRING_SIZE_0_2048(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, - 0, 2048); + 0, 2048, FALSE); return offset; } @@ -366,7 +366,7 @@ static int dissect_dhkey(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tr static int dissect_h235_BIT_STRING_SIZE_0_511(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, - 0, 511); + 0, 511, FALSE); return offset; } @@ -681,7 +681,7 @@ static int dissect_sharedSecret(tvbuff_t *tvb, int offset, packet_info *pinfo, p static int dissect_h235_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; } |