From Martin Kaiser:

RVALS() needs BASE_RANGE_STRING 

https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7282

svn path=/trunk/; revision=42823
This commit is contained in:
Anders Broman 2012-05-24 09:17:11 +00:00
parent facd4aca9d
commit d40cb34ba9
2 changed files with 4 additions and 4 deletions

View File

@ -5575,7 +5575,7 @@ proto_register_tn3270(void)
{ &hf_tn3270_character_set,
{ "Character Set",
"tn3270.character_set",
FT_UINT8, BASE_HEX, RVALS(rvals_at_character_set), 0x0,
FT_UINT8, BASE_RANGE_STRING|BASE_HEX, RVALS(rvals_at_character_set), 0x0,
NULL, HFILL }
},
{ &hf_tn3270_field_outlining,

View File

@ -880,13 +880,13 @@ proto_register_usb_hid(void)
TFS(&tfs_mainitem_bit8), 1<<8, NULL, HFILL }},
{ &hf_usb_hid_mainitem_colltype,
{ "Collection type", "usbhid.item.main.colltype", FT_UINT8, BASE_HEX,
{ "Collection type", "usbhid.item.main.colltype", FT_UINT8, BASE_RANGE_STRING|BASE_HEX,
RVALS(usb_hid_mainitem_colltype_vals), 0, NULL, HFILL }},
/* Global-report item data */
{ &hf_usb_hid_globalitem_usage,
{ "Usage page", "usbhid.item.global.usage", FT_UINT8, BASE_HEX,
{ "Usage page", "usbhid.item.global.usage", FT_UINT8, BASE_RANGE_STRING|BASE_HEX,
RVALS(usb_hid_item_usage_vals), 0, NULL, HFILL }},
{ &hf_usb_hid_globalitem_log_min,
@ -960,7 +960,7 @@ proto_register_usb_hid(void)
/* Local-report item data */
{ &hf_usb_hid_localitem_usage,
{ "Usage", "usbhid.item.local.usage", FT_UINT8, BASE_HEX,
{ "Usage", "usbhid.item.local.usage", FT_UINT8, BASE_RANGE_STRING|BASE_HEX,
RVALS(usb_hid_item_usage_vals), 0, NULL, HFILL }},
{ &hf_usb_hid_localitem_usage_min,