aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDr. Lars Völker <lars.voelker@technica-engineering.de>2023-03-04 17:47:46 +0100
committerJohn Thacker <johnthacker@gmail.com>2023-03-05 02:22:13 +0000
commitf92d0ded8f6a719fc9648b23ef94f70b57cfc52e (patch)
treedf7a91d39c367ef54be5b54ab472aafffc7f2d77
parentac28130c76d93329c0019f4a420166164c02e916 (diff)
TECMP: cleanup endianness for 1 Byte fields
-rw-r--r--epan/dissectors/packet-tecmp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/epan/dissectors/packet-tecmp.c b/epan/dissectors/packet-tecmp.c
index 9af9ea21ce..6b2f1ac4fe 100644
--- a/epan/dissectors/packet-tecmp.c
+++ b/epan/dissectors/packet-tecmp.c
@@ -1000,9 +1000,8 @@ dissect_tecmp_entry_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
timestamp.nsecs = (int)(ns % 1000000000);
ti = proto_tree_add_time(tree, hf_tecmp_payload_timestamp, tvb, offset + 4, 8, &timestamp);
subtree = proto_item_add_subtree(ti, ett_tecmp_payload_timestamp);
- proto_tree_add_item_ret_boolean(subtree, hf_tecmp_payload_timestamp_async, tvb, offset + 4, 1,ENC_BIG_ENDIAN,
- &async);
- proto_tree_add_item(subtree, hf_tecmp_payload_timestamp_res, tvb, offset + 4, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item_ret_boolean(subtree, hf_tecmp_payload_timestamp_async, tvb, offset + 4, 1, ENC_NA, &async);
+ proto_tree_add_item(subtree, hf_tecmp_payload_timestamp_res, tvb, offset + 4, 1, ENC_NA);
if (async) {
proto_item_append_text(ti, " (not synchronized)");