aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors
diff options
context:
space:
mode:
authorJohn Thacker <johnthacker@gmail.com>2023-02-25 10:48:14 -0500
committerJohn Thacker <johnthacker@gmail.com>2023-02-25 10:48:14 -0500
commit9eeffdc5eb4495446e4869d3b31306a930c44af4 (patch)
tree397c18aa900c1943dae6917b3e07aa343d248c74 /epan/dissectors
parent93ec018c098ad126e98db564ff6a34e898eadde4 (diff)
Fix item length in ASN.1 templates too
Some of the item length changes in !9655 needed to be done with the ASN.1 templates so that they don't get lost on ASN.1 regeneration. Fixup ed8ee831fda2df69657af95dc34a3ea6b3ef4c88
Diffstat (limited to 'epan/dissectors')
-rw-r--r--epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c2
-rw-r--r--epan/dissectors/asn1/tetra/packet-tetra-template.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c b/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c
index f5f6c7bf06..ba9e97ccdf 100644
--- a/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c
+++ b/epan/dissectors/asn1/ansi_map/packet-ansi_map-template.c
@@ -5055,7 +5055,7 @@ void proto_register_ansi_map(void) {
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_nominal_pwr,
{ "Nominal Power", "ansi_map.cdmachanneldata.nominal_pwr",
- FT_UINT8, BASE_DEC, NULL, 0x71,
+ FT_UINT8, BASE_DEC, NULL, 0x78,
NULL, HFILL }},
{&hf_ansi_map_cdmachanneldata_nr_preamble,
{ "Number Preamble", "ansi_map.cdmachanneldata.nr_preamble",
diff --git a/epan/dissectors/asn1/tetra/packet-tetra-template.c b/epan/dissectors/asn1/tetra/packet-tetra-template.c
index 8845539963..89c85ff5e6 100644
--- a/epan/dissectors/asn1/tetra/packet-tetra-template.c
+++ b/epan/dissectors/asn1/tetra/packet-tetra-template.c
@@ -589,7 +589,7 @@ void proto_register_tetra (void)
{ "Channel 3", "tetra.rxchannel3", FT_UINT8, BASE_DEC, VALS(recvchanneltypenames), 0x0,
"Logical channels type", HFILL }},
{ &hf_tetra_timer,
- { "Timer", "tetra.timer", FT_UINT16, BASE_HEX, NULL, 0x0,
+ { "Timer", "tetra.timer", FT_UINT32, BASE_HEX, NULL, 0x0,
"Timer Register", HFILL }},
{ &hf_tetra_crc,
{ "CRC", "tetra.crc", FT_BOOLEAN, BASE_NONE, NULL, 0x0,