aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h245.c
diff options
context:
space:
mode:
authorPavel Strnad <strnadp@tiscali.cz>2017-10-25 10:34:47 +0200
committerMichael Mann <mmann78@netscape.net>2017-10-25 21:10:11 +0000
commit93fba33e95006e18d1e16e3e32cbfde3a2457a38 (patch)
tree448a811425a94ce3385cfe47acbb6b46399ccfa5 /epan/dissectors/packet-h245.c
parenteae216ef1db4b22e533231c8766cf4fad148eda6 (diff)
asn2wrs.py: use 64 bits variant for constrained integers using MIN or MAX keywords
Change-Id: Iffc7c81e9653e8c1cd938de8f4fc26c5912eceec Reviewed-on: https://code.wireshark.org/review/24049 Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-h245.c')
-rw-r--r--epan/dissectors/packet-h245.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-h245.c b/epan/dissectors/packet-h245.c
index 5c6bcf217e..cd39bdc171 100644
--- a/epan/dissectors/packet-h245.c
+++ b/epan/dissectors/packet-h245.c
@@ -6453,7 +6453,7 @@ dissect_h245_MultiplePayloadStreamCapability(tvbuff_t *tvb _U_, int offset _U_,
static int
dissect_h245_MaxRedundancy(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
- offset = dissect_per_constrained_integer(tvb, offset, actx, tree, hf_index,
+ offset = dissect_per_constrained_integer_64b(tvb, offset, actx, tree, hf_index,
1U, NO_BOUND, NULL, FALSE);
return offset;
@@ -17452,15 +17452,15 @@ void proto_register_h245(void) {
"OBJECT_IDENTIFIER", HFILL }},
{ &hf_h245_rfc2733rfc2198,
{ "rfc2733rfc2198", "h245.rfc2733rfc2198",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT64, BASE_DEC, NULL, 0,
"MaxRedundancy", HFILL }},
{ &hf_h245_rfc2733sameport,
{ "rfc2733sameport", "h245.rfc2733sameport",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT64, BASE_DEC, NULL, 0,
"MaxRedundancy", HFILL }},
{ &hf_h245_rfc2733diffport,
{ "rfc2733diffport", "h245.rfc2733diffport",
- FT_UINT32, BASE_DEC, NULL, 0,
+ FT_UINT64, BASE_DEC, NULL, 0,
"MaxRedundancy", HFILL }},
{ &hf_h245_rfc2733Format,
{ "rfc2733Format", "h245.rfc2733Format",