summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-ecatmb.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2014-12-13 15:17:21 -0500
committerBill Meier <wmeier@newsguy.com>2014-12-13 21:59:25 +0000
commit5992ef414e00e7123953ddf91641402153388b3b (patch)
treedc879408edf67925a93312b1e0bce752d73d7025 /plugins/ethercat/packet-ecatmb.c
parent94d7e8d83834a45f69cb47a121b70192e4d561fb (diff)
downloadwireshark-5992ef414e00e7123953ddf91641402153388b3b.tar.gz
plugins: replace ENC_NA by ENC_..._ENDIAN when fetching integral types
Change-Id: I3958bbd0eadd4472a003ea272e596026ad8731d1 Reviewed-on: https://code.wireshark.org/review/5753 Reviewed-by: Bill Meier <wmeier@newsguy.com>
Diffstat (limited to 'plugins/ethercat/packet-ecatmb.c')
-rw-r--r--plugins/ethercat/packet-ecatmb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ethercat/packet-ecatmb.c b/plugins/ethercat/packet-ecatmb.c
index 24ed0e448f..96ab7999d5 100644
--- a/plugins/ethercat/packet-ecatmb.c
+++ b/plugins/ethercat/packet-ecatmb.c
@@ -1206,7 +1206,7 @@ static void dissect_ecat_mailbox(tvbuff_t *tvb, packet_info *pinfo, proto_tree *
offset+=(int)sizeof(hdr.Address);
/* Add priority information to the mailbox header */
- proto_tree_add_item(ecat_mailbox_header_tree, hf_ecat_mailboxpriority, tvb, offset, 1, ENC_NA);
+ proto_tree_add_item(ecat_mailbox_header_tree, hf_ecat_mailboxpriority, tvb, offset, 1, ENC_LITTLE_ENDIAN);
offset+=(int)sizeof(guint8);
/* Add type information to the mailbox header */