From de9d9b40d68228c83013606722f8dd647cb54b8f Mon Sep 17 00:00:00 2001 From: kukosa Date: Mon, 14 Nov 2005 13:05:17 +0000 Subject: improvements in value constraint support - NO_BOUND is defined instead of usage -1 - negative bound is handled properly for INTEGER git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16505 f5534014-38df-0310-8fa8-9805f1628bb7 --- epan/dissectors/packet-h235.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-h235.c') diff --git a/epan/dissectors/packet-h235.c b/epan/dissectors/packet-h235.c index cb9a36f03e..54e54267b9 100644 --- a/epan/dissectors/packet-h235.c +++ b/epan/dissectors/packet-h235.c @@ -276,7 +276,7 @@ static int dissect_keyDerivationOID(tvbuff_t *tvb, int offset, packet_info *pinf static int dissect_h235_OCTET_STRING(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index) { offset = dissect_per_octet_string(tvb, offset, pinfo, tree, hf_index, - -1, -1, NULL); + NO_BOUND, NO_BOUND, NULL); 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, FALSE); + NO_BOUND, NO_BOUND, FALSE); return offset; } -- cgit v1.2.3