diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-01-16 20:36:08 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-01-16 20:36:08 +0100 |
commit | b2a100e43981f58804c69633d8b43284d4ea1c2a (patch) | |
tree | f11b2f785924e20867d3ac49161430614060b739 /bgpd | |
parent | Merge pull request #12621 from donaldsharp/route_scale_failure_micronet (diff) | |
download | frr-b2a100e43981f58804c69633d8b43284d4ea1c2a.tar.xz frr-b2a100e43981f58804c69633d8b43284d4ea1c2a.zip |
bgpd: Drop redundant `vrf` keyword in BGP debug log changes
Before:
```
nexthop is not valid (in vrf VRF vrf100)
updating RD 65001:100, 10.100.1.1/32 to vrf VRF vrf200
```
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_mplsvpn.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c index c92d678ef..ecc26a341 100644 --- a/bgpd/bgp_mplsvpn.c +++ b/bgpd/bgp_mplsvpn.c @@ -1095,9 +1095,8 @@ static bool leak_update_nexthop_valid(struct bgp *to_bgp, struct bgp_dest *bn, } if (debug) - zlog_debug("%s: %pFX nexthop is %svalid (in vrf %s)", __func__, - p, (nh_valid ? "" : "not "), - bgp_nexthop->name_pretty); + zlog_debug("%s: %pFX nexthop is %svalid (in %s)", __func__, p, + (nh_valid ? "" : "not "), bgp_nexthop->name_pretty); return nh_valid; } @@ -1900,8 +1899,8 @@ static bool vpn_leak_to_vrf_update_onevrf(struct bgp *to_bgp, /* to */ } if (debug) - zlog_debug("%s: updating RD %pRD, %pFX to vrf %s", __func__, - prd, p, to_bgp->name_pretty); + zlog_debug("%s: updating RD %pRD, %pFX to %s", __func__, prd, p, + to_bgp->name_pretty); /* shallow copy */ static_attr = *path_vpn->attr; |