aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2021-05-20 22:24:41 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-05-21 10:04:33 +0000
commit9f895960c19cfb1fb99781346b46e923bc7a8234 (patch)
tree5010f14644a007a4d025398b2df108f4d2f1d4ec
parent9b35d477583f66bcc0e604ca268283f57674b761 (diff)
ERLDP: Fix the type of the handshake tag.
Error: proto_tree_add_item_ret_uint(.., hf_erldp_tag, ...) called at epan/dissectors/packet-erldp.c:625 with type FT_STRING (allowed types are {'FT_UINT8', 'FT_CHAR', 'FT_UINT24', 'FT_UINT32', 'FT_UINT16'} )
-rw-r--r--epan/dissectors/packet-erldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-erldp.c b/epan/dissectors/packet-erldp.c
index 0410a6f8ed..ec8bae2ff5 100644
--- a/epan/dissectors/packet-erldp.c
+++ b/epan/dissectors/packet-erldp.c
@@ -857,7 +857,7 @@ void proto_register_erldp(void) {
FT_UINT8, BASE_DEC, NULL, 0x0,
NULL, HFILL}},
{ &hf_erldp_tag, { "Tag", "erldp.tag",
- FT_STRING, BASE_NONE, NULL, 0x0,
+ FT_CHAR, BASE_HEX, NULL, 0x0,
NULL, HFILL}},
{ &hf_erldp_type, { "Type", "erldp.type",
FT_UINT8, BASE_DEC, NULL, 0x0,