aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-udld.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-udld.c')
-rw-r--r--epan/dissectors/packet-udld.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-udld.c b/epan/dissectors/packet-udld.c
index fa9a084bdf..68bedc501d 100644
--- a/epan/dissectors/packet-udld.c
+++ b/epan/dissectors/packet-udld.c
@@ -120,15 +120,15 @@ dissect_udld(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
udld_tree = proto_item_add_subtree(ti, ett_udld);
/* UDLD header */
- proto_tree_add_item(udld_tree, hf_udld_version, tvb, offset, 1, FALSE);
- proto_tree_add_item(udld_tree, hf_udld_opcode, tvb, offset, 1, FALSE);
+ proto_tree_add_item(udld_tree, hf_udld_version, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(udld_tree, hf_udld_opcode, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
- flags_ti = proto_tree_add_item(udld_tree, hf_udld_flags, tvb, offset, 1, FALSE);
+ flags_ti = proto_tree_add_item(udld_tree, hf_udld_flags, tvb, offset, 1, ENC_BIG_ENDIAN);
flags_tree = proto_item_add_subtree(flags_ti, ett_udld_flags);
- proto_tree_add_item(flags_tree, hf_udld_flags_rt, tvb, offset, 1, FALSE);
- proto_tree_add_item(flags_tree, hf_udld_flags_rsy, tvb, offset, 1, FALSE);
+ proto_tree_add_item(flags_tree, hf_udld_flags_rt, tvb, offset, 1, ENC_BIG_ENDIAN);
+ proto_tree_add_item(flags_tree, hf_udld_flags_rsy, tvb, offset, 1, ENC_BIG_ENDIAN);
offset += 1;
- proto_tree_add_item(udld_tree, hf_udld_checksum, tvb, offset, 2, FALSE);
+ proto_tree_add_item(udld_tree, hf_udld_checksum, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
} else {
offset += 4; /* The version/opcode/flags/checksum fields from above */