awdl: fix item length

reported by check_typed_proto_items.py
packet-awdl.c:889 proto_tree_add_item called for hf_awdl_electionparams_private_phc  -  item type is FT_UINT32 but call has len  2
This commit is contained in:
Alexis La Goutte 2020-11-01 20:44:00 +01:00
parent c7bd8baea2
commit 31666c5214
1 changed files with 1 additions and 1 deletions

View File

@ -2062,7 +2062,7 @@ void proto_register_awdl(void)
},
{ &hf_awdl_electionparams_private_phc,
{ "PHC", "awdl.electionparams.private.phc",
FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL
FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL
}
},