EAP: Fix GPSK failure code item length

Fix issues found by running ./tools/check_typed_item_calls.py

epan/dissectors/packet-eap.c:1475 proto_tree_add_item called for hf_eap_gpsk_failure_code  -  item type is FT_UINT16 but call has len  4
epan/dissectors/packet-eap.c:1479 proto_tree_add_item called for hf_eap_gpsk_failure_code  -  item type is FT_UINT16 but call has len  4
This commit is contained in:
Mikael Kanstrup 2020-10-19 09:29:40 +02:00 committed by Wireshark GitLab Utility
parent 6da08adcca
commit 72fbe69d9b
1 changed files with 1 additions and 1 deletions

View File

@ -2733,7 +2733,7 @@ proto_register_eap(void)
{ &hf_eap_gpsk_failure_code, {
"EAP-GPSK Failure code", "eap.gpsk.failure_code",
FT_UINT16, BASE_HEX, VALS(eap_gpsk_failure_code_vals), 0x0,
FT_UINT32, BASE_HEX, VALS(eap_gpsk_failure_code_vals), 0x0,
NULL, HFILL }},
{ &hf_eap_data, {