aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nfapi.c
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2018-04-16 15:36:41 +0200
committerAnders Broman <a.broman58@gmail.com>2018-04-16 15:44:08 +0000
commitccff21854d5e340af3e8db3ecde555a20ce1f7d8 (patch)
treef154af995bb1ff4a4a7178f5977294fdf097f9ae /epan/dissectors/packet-nfapi.c
parentf9ed58759fca787b6d3b4c2a988d714014b5ddc6 (diff)
Forbid leading, duplicated and trailing dots in field names
In order to simplify the display filter scanner, try to restrict the use of dots ('.') in field names. Forbid leading dots, does not affect current dissectors. Fix '..' typo in fpp dissector and forbid it. Forbid trailing dots after fixing dissectors: some of them just have an excess dot, others are missing a name after the dot. Change-Id: I6e58a04ef0306ee8c16fbf6a3cabb076d7fc69c9 Reviewed-on: https://code.wireshark.org/review/26967 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-nfapi.c')
-rw-r--r--epan/dissectors/packet-nfapi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-nfapi.c b/epan/dissectors/packet-nfapi.c
index cf60491..31f6aac 100644
--- a/epan/dissectors/packet-nfapi.c
+++ b/epan/dissectors/packet-nfapi.c
@@ -9111,7 +9111,7 @@ void proto_register_nfapi(void)
"The number of cell specific transmit antenna ports within the DRS occasions", HFILL }
},
{ &hf_nfapi_transmission_power_for_drs,
- { "Transmission power for DRS", "nfapi.transmission.power.for.drs.",
+ { "Transmission power for DRS", "nfapi.transmission.power.for.drs",
FT_UINT16, BASE_CUSTOM, CF_FUNC(power_offset_conversion_fn), 0x0,
"Offset of cell specific Reference signals power within DRS occasions to the reference signal power", HFILL }
},
@@ -10205,7 +10205,7 @@ void proto_register_nfapi(void)
"Valid for DCI format 6-2", HFILL }
},
{ &hf_nfapi_number_of_tx_antenna_ports,
- { "Number of TX Antenna ports", "nfapi.num.of.tx.antenna.ports.",
+ { "Number of TX Antenna ports", "nfapi.num.of.tx.antenna.ports",
FT_UINT8, BASE_DEC, NULL, 0x0,
"Number of TX physical antenna ports", HFILL }
},
@@ -11135,7 +11135,7 @@ void proto_register_nfapi(void)
"Indicates HARQ results", HFILL }
},
{ &hf_nfapi_harq_tb_1,
- { "HARQ TB1", "nfapi.harq.tb.",
+ { "HARQ TB1", "nfapi.harq.tb.1",
FT_UINT8, BASE_DEC, VALS(harq_value_vals), 0x0,
"HARQ feedback of 1st TB.", HFILL }
},