Skip to content
Browse files

bgpd: Modify End of Rib notification to INFO

The End of Rib notification in BGP is useful to know no matter
the circumstances.  So change this from a debug message to
an info and cleanup the message a bit and add vrf we are in.

Signed-off-by: Donald Sharp <>
  • Loading branch information...
donaldsharp authored and pguibert6WIND committed Dec 22, 2018
1 parent d20bd5a commit e82d19a3d414697b59f5e0253594960c0d8fd6d9
Showing with 5 additions and 5 deletions.
  1. +5 −5 bgpd/bgp_packet.c
@@ -1612,6 +1612,8 @@ static int bgp_update_receive(struct peer *peer, bgp_size_t size)

if (afi && peer->afc[afi][safi]) {
struct vrf *vrf = vrf_lookup_by_id(peer->bgp->vrf_id);

/* End-of-RIB received */
if (!CHECK_FLAG(peer->af_sflags[afi][safi],
@@ -1624,11 +1626,9 @@ static int bgp_update_receive(struct peer *peer, bgp_size_t size)
if (peer->nsf[afi][safi])
bgp_clear_stale_route(peer, afi, safi);

if (bgp_debug_neighbor_events(peer)) {
zlog_debug("rcvd End-of-RIB for %s from %s",
afi_safi_print(afi, safi),
zlog_info("%%NOTIFICATION: rcvd End-of-RIB for %s from %s in vrf %s",
afi_safi_print(afi, safi), peer->host,
vrf ? vrf->name : VRF_DEFAULT_NAME);

0 comments on commit e82d19a

Please sign in to comment.
You can’t perform that action at this time.