aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-beep.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-beep.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-beep.c')
-rw-r--r--epan/dissectors/packet-beep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-beep.c b/epan/dissectors/packet-beep.c
index 988accd062..08f0b18207 100644
--- a/epan/dissectors/packet-beep.c
+++ b/epan/dissectors/packet-beep.c
@@ -221,7 +221,7 @@ dissect_beep_more(tvbuff_t *tvb, packet_info *pinfo, int offset,
int ret = 0;
guint8 more = tvb_get_guint8(tvb, offset);
- hidden_item = proto_tree_add_item(tree, hf_beep_more, tvb, offset, 1, ENC_NA);
+ hidden_item = proto_tree_add_item(tree, hf_beep_more, tvb, offset, 1, ENC_BIG_ENDIAN);
PROTO_ITEM_SET_HIDDEN(hidden_item);
switch(more) {
@@ -247,7 +247,7 @@ static void dissect_beep_status(tvbuff_t *tvb, int offset,
/* FIXME: We should return a value to indicate all OK. */
- proto_tree_add_item(item_tree, hf_beep_status, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(item_tree, hf_beep_status, tvb, offset, 1, ENC_BIG_ENDIAN);
}
#endif