summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-10-18 13:29:24 +0200
committerMichael Mann <mmann78@netscape.net>2016-10-18 13:49:57 +0000
commit9796e811f51892db729e02735a8bf31628ea7dcb (patch)
tree486c24eab138e2237cdb0d1975955c55cb83d283
parent5d2c54ed2029dd98c44e17672e9c63ad0172e87b (diff)
downloadwireshark-9796e811f51892db729e02735a8bf31628ea7dcb.tar.gz
BGP: fix bgp.ls.tlv.link_protection_type_value is not of an FT_{U}INTn type]
Bug: 13021 Change-Id: I3464c7af61323efb25dd89655865d536aeae6e59 Reviewed-on: https://code.wireshark.org/review/18261 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
-rw-r--r--epan/dissectors/packet-bgp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index 4f291f6d24..65473e0ed1 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -9078,8 +9078,8 @@ proto_register_bgp(void)
{ "Link Protection Type TLV", "bgp.ls.tlv.link_protection_type", FT_NONE,
BASE_NONE, NULL, 0x0, NULL, HFILL}},
{ &hf_bgp_ls_tlv_link_protection_type_value,
- { "Protection Capabilities", "bgp.ls.tlv.link_protection_type_value", FT_NONE,
- BASE_NONE, NULL, 0x0, NULL, HFILL}},
+ { "Protection Capabilities", "bgp.ls.tlv.link_protection_type_value", FT_UINT8,
+ BASE_HEX, NULL, 0x0, NULL, HFILL}},
{ &hf_bgp_ls_tlv_mpls_protocol_mask,
{ "MPLS Protocol Mask TLV", "bgp.ls.tlv.mpls_protocol_mask", FT_NONE,
BASE_NONE, NULL, 0x0, NULL, HFILL}},