diff options
author | Pavel Strnad <strnadp@tiscali.cz> | 2017-10-25 10:34:47 +0200 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2017-10-25 21:10:11 +0000 |
commit | 93fba33e95006e18d1e16e3e32cbfde3a2457a38 (patch) | |
tree | 448a811425a94ce3385cfe47acbb6b46399ccfa5 /epan/dissectors/packet-t125.c | |
parent | eae216ef1db4b22e533231c8766cf4fad148eda6 (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-t125.c')
-rw-r--r-- | epan/dissectors/packet-t125.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/epan/dissectors/packet-t125.c b/epan/dissectors/packet-t125.c index 25ff1f7ecd..3cc1efaca6 100644 --- a/epan/dissectors/packet-t125.c +++ b/epan/dissectors/packet-t125.c @@ -126,7 +126,7 @@ dissect_t125_DataPriority(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offs static int dissect_t125_INTEGER_0_MAX(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { - offset = dissect_ber_integer(implicit_tag, actx, tree, tvb, offset, hf_index, + offset = dissect_ber_integer64(implicit_tag, actx, tree, tvb, offset, hf_index, NULL); return offset; @@ -462,35 +462,35 @@ void proto_register_t125(void) { NULL, HFILL }}, { &hf_t125_maxChannelIds, { "maxChannelIds", "t125.maxChannelIds", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_maxUserIds, { "maxUserIds", "t125.maxUserIds", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_maxTokenIds, { "maxTokenIds", "t125.maxTokenIds", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_numPriorities, { "numPriorities", "t125.numPriorities", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_minThroughput, { "minThroughput", "t125.minThroughput", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_maxHeight, { "maxHeight", "t125.maxHeight", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_maxMCSPDUsize, { "maxMCSPDUsize", "t125.maxMCSPDUsize", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_protocolVersion, { "protocolVersion", "t125.protocolVersion", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_callingDomainSelector, { "callingDomainSelector", "t125.callingDomainSelector", @@ -526,7 +526,7 @@ void proto_register_t125(void) { NULL, HFILL }}, { &hf_t125_calledConnectId, { "calledConnectId", "t125.calledConnectId", - FT_UINT32, BASE_DEC, NULL, 0, + FT_UINT64, BASE_DEC, NULL, 0, "INTEGER_0_MAX", HFILL }}, { &hf_t125_domainParameters, { "domainParameters", "t125.domainParameters_element", |