diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-11-14 13:05:17 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-11-14 13:05:17 +0000 |
commit | 97584210fbdae40c98945ef0463de134079e4841 (patch) | |
tree | da1aa097c8ac572bced369fbd6e317d2bdd19346 /epan/dissectors/packet-h235.c | |
parent | f4e55c11550f20e60a485b83b33e0ce0b777726a (diff) |
improvements in value constraint support
- NO_BOUND is defined instead of usage -1
- negative bound is handled properly for INTEGER
svn path=/trunk/; revision=16505
Diffstat (limited to 'epan/dissectors/packet-h235.c')
-rw-r--r-- | epan/dissectors/packet-h235.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |