aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-hci_mon.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-12-13 16:26:07 -0500
committerBill Meier <wmeier@newsguy.com>2014-12-13 21:59:55 +0000
commit1725eee48e46a5cb4037a83910044f2d5e807261 (patch)
treec82fdcc4a46694c1c1d6057c663242646569340c /epan/dissectors/packet-hci_mon.c
parent5992ef414e00e7123953ddf91641402153388b3b (diff)
Use ENC_BIG_ENDIAN when fetching FT_U?INT8 fields ...
Change-Id: Ie8cb993bb9dd3e8dbfa1876a4e731bca10ee0507 Reviewed-on: https://code.wireshark.org/review/5754 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'epan/dissectors/packet-hci_mon.c')
-rw-r--r--epan/dissectors/packet-hci_mon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-hci_mon.c b/epan/dissectors/packet-hci_mon.c
index b8ecdf4d1a..77fb7de8a8 100644
--- a/epan/dissectors/packet-hci_mon.c
+++ b/epan/dissectors/packet-hci_mon.c
@@ -211,10 +211,10 @@ dissect_hci_mon(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data
switch(opcode) {
case 0x00: /* New Index */
- proto_tree_add_item(hci_mon_tree, hf_bus, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(hci_mon_tree, hf_bus, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
- proto_tree_add_item(hci_mon_tree, hf_type, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(hci_mon_tree, hf_type, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
offset = dissect_bd_addr(hf_bd_addr, hci_mon_tree, tvb, offset);