aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-11-13 16:07:34 +0100
committerMichael Mann <mmann78@netscape.net>2017-11-21 21:17:23 +0000
commit9a1a8f77e93601fa140b7d8305839455effccfff (patch)
tree121a38e383e00f5e6de93fe8565dbdf349eb3354 /epan
parent7540ac69381518661065b33096bd448d1b4100e5 (diff)
BGP: enhance display
Display LACP Port Key/root Bridge Priority in Dec and Hex mSTP => MSTP Change-Id: I7079250da134e4bb60d2d5373bfdf2f31235f07a Ping-Bug: 14200 Reviewed-on: https://code.wireshark.org/review/24401 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-bgp.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-bgp.c b/epan/dissectors/packet-bgp.c
index c83649aaf6..63da2c5e80 100644
--- a/epan/dissectors/packet-bgp.c
+++ b/epan/dissectors/packet-bgp.c
@@ -781,10 +781,10 @@ static const value_string evpnrtypevals[] = {
static const value_string evpn_nlri_esi_type[] = {
{ BGP_NLRI_EVPN_ESI_VALUE, "ESI 9 bytes value" },
{ BGP_NLRI_EVPN_ESI_LACP, "ESI LACP 802.1AX defined" },
- { BGP_NLRI_EVPN_ESI_MSTP, "ESI mSTP defined" },
+ { BGP_NLRI_EVPN_ESI_MSTP, "ESI MSTP defined" },
{ BGP_NLRI_EVPN_ESI_MAC, "ESI MAC address defined" },
{ BGP_NLRI_EVPN_ESI_RID, "ESI Router ID" },
- { BGP_NLRI_EVPN_ESI_ASN, "ESI autonomous system" },
+ { BGP_NLRI_EVPN_ESI_ASN, "ESI Autonomous System" },
{ BGP_NLRI_EVPN_ESI_RES, "ESI reserved" },
{ 0, NULL }
};
@@ -9644,8 +9644,8 @@ proto_register_bgp(void)
{ "CE LACP system MAC", "bgp.evpn.nlri.esi.lacp_mac", FT_ETHER,
BASE_NONE, NULL, 0x0, NULL, HFILL }},
{ &hf_bgp_evpn_nlri_esi_portk,
- { "LACP port key", "bgp.evpn.nlri.esi.lacp_portkey", FT_BYTES,
- SEP_SPACE, NULL, 0x0, NULL, HFILL }},
+ { "LACP port key", "bgp.evpn.nlri.esi.lacp_portkey", FT_UINT16,
+ BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }},
{ &hf_bgp_evpn_nlri_esi_remain,
{ "Remaining bytes", "bgp.evpn.nlri.esi.remaining", FT_BYTES,
BASE_NONE, NULL, 0x0, NULL, HFILL }},
@@ -9659,8 +9659,8 @@ proto_register_bgp(void)
{ "ESI root bridge MAC", "bgp.evpn.nlri.esi.root_brige", FT_ETHER,
BASE_NONE, NULL, 0x0, NULL, HFILL }},
{ &hf_bgp_evpn_nlri_esi_rbprio,
- { "ESI root bridge priority", "bgp.evpn.nlri.esi.rb_prio", FT_BYTES,
- SEP_SPACE, NULL, 0x0, NULL, HFILL }},
+ { "ESI root bridge priority", "bgp.evpn.nlri.esi.rb_prio", FT_UINT16,
+ BASE_DEC_HEX, NULL, 0x0, NULL, HFILL }},
{ &hf_bgp_evpn_nlri_esi_sys_mac,
{ "ESI system MAC", "bgp.evpn.nlri.esi.system_mac", FT_ETHER,
BASE_NONE, NULL, 0x0, NULL, HFILL }},