diff options
author | Russ White <russ@riw.us> | 2022-09-27 17:27:12 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-27 17:27:12 +0200 |
commit | ee42846bea4029af768fbf2b4fb83fddb40d323c (patch) | |
tree | 845e1615de76e7504e086da5aae402b367f1116b /bgpd | |
parent | Merge pull request #12016 from opensourcerouting/fix/route_map_show_json (diff) | |
parent | bgpd: Print hostname for peer as well when marking as stale for route-refresh (diff) | |
download | frr-ee42846bea4029af768fbf2b4fb83fddb40d323c.tar.xz frr-ee42846bea4029af768fbf2b4fb83fddb40d323c.zip |
Merge pull request #12010 from opensourcerouting/fix/logging_for_route_refresh
bgpd: Print hostname for peer as well when marking as stale for route-refresh
Diffstat (limited to 'bgpd')
-rw-r--r-- | bgpd/bgp_route.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index e692d8f39..a8e016a89 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -5620,8 +5620,8 @@ void bgp_set_stale_route(struct peer *peer, afi_t afi, safi_t safi) if (bgp_debug_neighbor_events( peer)) zlog_debug( - "%s: route-refresh for %s/%s, marking prefix %pFX as stale", - peer->host, + "%pBP route-refresh for %s/%s, marking prefix %pFX as stale", + peer, afi2str(afi), safi2str(safi), bgp_dest_get_prefix( @@ -5649,9 +5649,8 @@ void bgp_set_stale_route(struct peer *peer, afi_t afi, safi_t safi) BGP_PATH_UNUSEABLE)) { if (bgp_debug_neighbor_events(peer)) zlog_debug( - "%s: route-refresh for %s/%s, marking prefix %pFX as stale", - peer->host, - afi2str(afi), + "%pBP route-refresh for %s/%s, marking prefix %pFX as stale", + peer, afi2str(afi), safi2str(safi), bgp_dest_get_prefix( dest)); |