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>
This commit is contained in:
Alexis La Goutte 2017-11-13 16:07:34 +01:00 committed by Michael Mann
parent 7540ac6938
commit 9a1a8f77e9
1 changed files with 6 additions and 6 deletions

View File

@ -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 }},