MAC NR: fix (for real) mac-nr.harqid field definition

Change-Id: I6f0218a215701750070920cf40e85209b07e1972
Reviewed-on: https://code.wireshark.org/review/30340
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
This commit is contained in:
Pascal Quantin 2018-10-23 07:03:39 +02:00
parent 5797f60274
commit afb96d1ce1
1 changed files with 3 additions and 3 deletions

View File

@ -2425,8 +2425,8 @@ static int dissect_mac_nr(tvbuff_t *tvb, packet_info *pinfo,
}
/* Harqid */
ti = proto_tree_add_boolean(context_tree, hf_mac_nr_context_harqid,
tvb, 0, 0, p_mac_nr_info->harqid);
ti = proto_tree_add_uint(context_tree, hf_mac_nr_context_harqid,
tvb, 0, 0, p_mac_nr_info->harqid);
PROTO_ITEM_SET_GENERATED(ti);
/* Type 2 other */
@ -2645,7 +2645,7 @@ void proto_register_mac_nr(void)
},
{ &hf_mac_nr_context_harqid,
{ "HarqId",
"mac-nr.harqid", FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"mac-nr.harqid", FT_UINT8, BASE_DEC, NULL, 0x0,
"HARQ Identifier", HFILL
}
},