summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-h235.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-10-10 20:38:28 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-10-10 20:38:28 +0000
commit3f7ed7c2a2bcf4e5bdcf759f668758113e833673 (patch)
treeda7b41d82f4240e595096fb9ae475f98b89c7300 /epan/dissectors/packet-h235.c
parentb12b8769887e92f3a9e3985ec2e012ee5d860da5 (diff)
downloadwireshark-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.c8
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;
}