aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-zbee-zcl-se.c
diff options
context:
space:
mode:
authorMartin Boye Petersen <martinboyepetersen@gmail.com>2018-11-16 10:14:18 +0100
committerAnders Broman <a.broman58@gmail.com>2018-11-16 11:23:55 +0000
commiteea4997f7e52e0126448225dfd04da840f73ec0c (patch)
treec7696cccf09ddd356f1a9e9760f1790023e32cfe /epan/dissectors/packet-zbee-zcl-se.c
parent76b80712eea5702aaf6569e503d675eafb11d82b (diff)
ZigBee: Fixed incorrect field type
Fixed incorrect field type for tariff label in publish tariff information. It is an zigbee octet string, so the first byte indicates the length of the string. Change-Id: Ia90e47a19a3bd1ca7642f5e7ce99377618198f15 Reviewed-on: https://code.wireshark.org/review/30663 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-zbee-zcl-se.c')
-rw-r--r--epan/dissectors/packet-zbee-zcl-se.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-zbee-zcl-se.c b/epan/dissectors/packet-zbee-zcl-se.c
index 80b8634143..4718be08eb 100644
--- a/epan/dissectors/packet-zbee-zcl-se.c
+++ b/epan/dissectors/packet-zbee-zcl-se.c
@@ -3336,7 +3336,7 @@ proto_register_zbee_zcl_price(void)
/* end Tariff Information Type/Charging Scheme fields */
{ &hf_zbee_zcl_price_tariff_information_tariff_label,
- { "Tariff Label", "zbee_zcl_se.price.tariff_information.tariff_label", FT_STRING, BASE_NONE, NULL,
+ { "Tariff Label", "zbee_zcl_se.price.tariff_information.tariff_label", FT_UINT_STRING, STR_ASCII, NULL,
0x00, NULL, HFILL } },
{ &hf_zbee_zcl_price_tariff_information_number_of_price_tiers_in_use,