diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-08-27 05:08:34 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-08-27 05:08:34 +0000 |
commit | 0e8164354078bfa47db4db20b9f80e01ba1aad55 (patch) | |
tree | 139d13e402597b2889d28679399ad21145e33f8a /epan/dissectors/packet-bthci_cmd.c | |
parent | 8ddf822285acb5dd8c27403226e4f1f8152a534a (diff) |
From Michal Labedzki:
Full dissection of EIR/AD and little improve filtering, cd
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9050
svn path=/trunk/; revision=51527
Diffstat (limited to 'epan/dissectors/packet-bthci_cmd.c')
-rw-r--r-- | epan/dissectors/packet-bthci_cmd.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-bthci_cmd.c b/epan/dissectors/packet-bthci_cmd.c index 8e3c48ec21..9646aac1ef 100644 --- a/epan/dissectors/packet-bthci_cmd.c +++ b/epan/dissectors/packet-bthci_cmd.c @@ -1426,8 +1426,16 @@ void proto_reg_handoff_bthci_cmd(void); static int dissect_bthci_cmd_bd_addr(tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree) { + guint8 bd_addr[6]; - proto_tree_add_item(tree, hf_bthci_cmd_bd_addr, tvb, offset, 6, ENC_NA); + bd_addr[5] = tvb_get_guint8(tvb, offset); + bd_addr[4] = tvb_get_guint8(tvb, offset + 1); + bd_addr[3] = tvb_get_guint8(tvb, offset + 2); + bd_addr[2] = tvb_get_guint8(tvb, offset + 3); + bd_addr[1] = tvb_get_guint8(tvb, offset + 4); + bd_addr[0] = tvb_get_guint8(tvb, offset + 5); + + proto_tree_add_ether(tree, hf_bthci_cmd_bd_addr, tvb, offset, 6, bd_addr); offset += 6; return offset; |