Fix incorrect packet-details display of certain 1 bit FT_BOOLEAN fields.

(Use a valid 'parent field width' in the hf[] 'display' field.

svn path=/trunk/; revision=41401
This commit is contained in:
Bill Meier 2012-03-07 16:54:12 +00:00
parent 7ee82aac06
commit 21e470ebba
2 changed files with 2 additions and 2 deletions

View File

@ -607,7 +607,7 @@ proto_register_btobex(void)
},
{&hf_final_flag,
{"Final Flag", "btobex.final_flag",
FT_BOOLEAN, BASE_HEX, TFS(&true_false), 0x80,
FT_BOOLEAN, 8, TFS(&true_false), 0x80,
NULL, HFILL}
},
{&hf_length,

View File

@ -537,7 +537,7 @@ proto_register_hdcp(void)
{ "r_tx", "hdcp2.r_tx", FT_UINT64, BASE_HEX,
NULL, 0, NULL, HFILL } },
{ &hf_hdcp2_repeater,
{ "Repeater", "hdcp2.repeater", FT_BOOLEAN, BASE_NONE,
{ "Repeater", "hdcp2.repeater", FT_BOOLEAN, 8,
NULL, 0x1, NULL, HFILL } },
{ &hf_hdcp2_cert_rcv_id,
{ "Receiver ID", "hdcp2.cert.rcv_id", FT_BYTES, BASE_NONE,