couchbase: fix item length

reported by check_typed_proto_items.py
packet-couchbase.c:1403 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1405 proto_tree_add_item called for hf_extras_nru  -  item type is FT_UINT16 but call has len  1
packet-couchbase.c:1426 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1453 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1471 proto_tree_add_item called for hf_extras_nmeta  -  item type is FT_UINT32 but call has len  2
packet-couchbase.c:1522 proto_tree_add_item called for hf_extras_nru  -  item type is FT_UINT16 but call has len  1
This commit is contained in:
Alexis La Goutte 2020-11-01 20:59:37 +01:00
parent 7530c337b5
commit cc8ac80b54
1 changed files with 2 additions and 2 deletions

View File

@ -3027,8 +3027,8 @@ proto_register_couchbase(void)
{ &hf_extras_abort_seqno, { "by_seqno (abort)", "couchbase.extras.by_seqno_abort", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_rev_seqno, { "rev_seqno", "couchbase.extras.rev_seqno", FT_UINT64, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_lock_time, { "lock_time", "couchbase.extras.lock_time", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_nmeta, { "nmeta", "couchbase.extras.nmeta", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_nru, { "nru", "couchbase.extras.nru", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_nmeta, { "nmeta", "couchbase.extras.nmeta", FT_UINT16, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_nru, { "nru", "couchbase.extras.nru", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_deleted, { "deleted", "couchbase.extras.deleted", FT_UINT8, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_bytes_to_ack, { "bytes_to_ack", "couchbase.extras.bytes_to_ack", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } },
{ &hf_extras_delete_time, { "delete_time", "couchbase.extras.delete_time", FT_UINT32, BASE_DEC, NULL, 0x0, NULL, HFILL } },