diff options
author | Russ White <russ@riw.us> | 2023-01-24 16:13:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-24 16:13:22 +0100 |
commit | 95e5cc231951394af0a4125879028ea8b504ddb1 (patch) | |
tree | 78696c8522bd3d9b488cdf33c2178c7f33b3fc6f /bgpd | |
parent | Merge pull request #12681 from pguibert6WIND/vpnv6_encode_plus (diff) | |
parent | bgpd: cosmetic changes for debug (diff) | |
download | frr-95e5cc231951394af0a4125879028ea8b504ddb1.tar.xz frr-95e5cc231951394af0a4125879028ea8b504ddb1.zip |
Merge pull request #12647 from anlancs/fix/bgpd-type-2
bgpd: cosmetic changes for debug
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_evpn.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bgpd/bgp_evpn.c b/bgpd/bgp_evpn.c index 286f47b2b..c9e935668 100644 --- a/bgpd/bgp_evpn.c +++ b/bgpd/bgp_evpn.c @@ -2119,10 +2119,11 @@ static int update_evpn_route(struct bgp *bgp, struct bgpevpn *vpn, char buf3[ESI_STR_LEN]; zlog_debug( - "VRF %s vni %u type-2 route evp %pFX RMAC %pEA nexthop %pI4 esi %s", + "VRF %s vni %u type-%u route evp %pFX RMAC %pEA nexthop %pI4 esi %s", vpn->bgp_vrf ? vrf_id_to_name(vpn->bgp_vrf->vrf_id) - : " ", - vpn->vni, p, &attr.rmac, &attr.mp_nexthop_global_in, + : "None", + vpn->vni, p->prefix.route_type, p, &attr.rmac, + &attr.mp_nexthop_global_in, esi_to_str(esi, buf3, sizeof(buf3))); } |