capwap: fix item length

reported by check_typed_proto_items.py
packet-capwap.c:1810 proto_tree_add_item called for hf_capwap_fortinet_mesh_eth_bridge_enable  -  item type is FT_UINT32 but call has len  1
packet-capwap.c:3015 proto_tree_add_item called for hf_capwap_control_header_msg_type_enterprise_nbr  -  item type is FT_UINT32 but call has len  3
This commit is contained in:
Alexis La Goutte 2020-11-01 21:04:43 +01:00
parent 32f89a492b
commit 7c0d9c1426
1 changed files with 2 additions and 2 deletions

View File

@ -3565,7 +3565,7 @@ proto_register_capwap_control(void)
},
{ &hf_capwap_control_header_msg_type_enterprise_nbr,
{ "Message Type (Enterprise Number)", "capwap.control.header.message_type.enterprise_number",
FT_UINT32, BASE_ENTERPRISES, STRINGS_ENTERPRISES, 0x0,
FT_UINT24, BASE_ENTERPRISES, STRINGS_ENTERPRISES, 0x0,
NULL, HFILL }
},
{ &hf_capwap_control_header_msg_type_enterprise_specific,
@ -5438,7 +5438,7 @@ proto_register_capwap_control(void)
},
{ &hf_capwap_fortinet_mesh_eth_bridge_enable,
{ "Mesh Eth Bridge Enable", "capwap.control.fortinet.mesh_eth_bridge.enable",
FT_UINT32, BASE_DEC, NULL, 0x0,
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
{ &hf_capwap_fortinet_mesh_eth_bridge_type,