In bgatt.uuid0xXXXX names, hex digits in XXXX are lower case.

The dissectors are registered using lower-case a through f; call them
that way.

XXX - why is this not just done with a dissector table with an unsigned
integer key?

Bug: 14994
Change-Id: I73dbfe8ea0cc3545d67f5315d3cd8ac1eee3385f
Reviewed-on: https://code.wireshark.org/review/28818
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2018-07-22 12:25:54 -07:00
parent 954fe24e41
commit e62a8bd5db
1 changed files with 3 additions and 3 deletions

View File

@ -5296,13 +5296,13 @@ dissect_attribute_value(proto_tree *tree, proto_item *patron_item, packet_info *
if (bluetooth_gatt_has_no_parameter(att_data->opcode))
break;
btatt_call_dissector_by_dissector_name_with_data("btgatt.uuid0x2A0C", tvb_new_subset_length_caplen(tvb, offset, 9, 9), pinfo, tree, att_data);
btatt_call_dissector_by_dissector_name_with_data("btgatt.uuid0x2a0c", tvb_new_subset_length_caplen(tvb, offset, 9, 9), pinfo, tree, att_data);
offset += 9;
btatt_call_dissector_by_dissector_name_with_data("btgatt.uuid0x2A0F", tvb_new_subset_length_caplen(tvb, offset, 2, 2), pinfo, tree, att_data);
btatt_call_dissector_by_dissector_name_with_data("btgatt.uuid0x2a0f", tvb_new_subset_length_caplen(tvb, offset, 2, 2), pinfo, tree, att_data);
offset += 2;
btatt_call_dissector_by_dissector_name_with_data("btgatt.uuid0x2A14", tvb_new_subset_length_caplen(tvb, offset, 4, 4), pinfo, tree, att_data);
btatt_call_dissector_by_dissector_name_with_data("btgatt.uuid0x2a14", tvb_new_subset_length_caplen(tvb, offset, 4, 4), pinfo, tree, att_data);
offset += 4;
break;