dns: fix item length

reported by check_typed_proto_items.py
packet-dns.c:1688 proto_tree_add_item called for hf_dns_rr_len  -  item type is FT_UINT32 but call has len  2
packet-dns.c:1719 proto_tree_add_item called for hf_dns_rr_len  -  item type is FT_UINT32 but call has len  2
packet-dns.c:2493 proto_tree_add_item called for hf_dns_px_preference  -  item type is FT_UINT8 but call has len  2
This commit is contained in:
Alexis La Goutte 2020-11-01 21:03:01 +01:00
parent cc8ac80b54
commit 32f89a492b
1 changed files with 1 additions and 1 deletions

View File

@ -4944,7 +4944,7 @@ proto_register_dns(void)
{ &hf_dns_rr_len,
{ "Data length", "dns.resp.len",
FT_UINT32, BASE_DEC, NULL, 0x0,
FT_UINT16, BASE_DEC, NULL, 0x0,
"Response Length", HFILL }},
{ &hf_dns_a,