summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@cumulusnetworks.com>2019-12-18 15:58:26 -0500
committerTrey Aspelund <taspelund@cumulusnetworks.com>2019-12-18 15:58:26 -0500
commita0e89d545bb974fdeb54e351e1ee88ea4cf521e9 (patch)
treed164961fa05f72620a20e2aba6002fd8a0c74434
parenta0729ec48d109d3035efae4def5125704346473f (diff)
bgpd: Remove misleading 'NOTIFICATION' string from End-of-RIB log
'NOTIFICATION' string in this message incorrectly implies a BGP Notification message was the cause of this log. Removing it to reduce confusion and replacing with function name. Signed-off-by: Trey Aspelund <taspelund@cumulusnetworks.com>
-rw-r--r--bgpd/bgp_packet.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/bgpd/bgp_packet.c b/bgpd/bgp_packet.c
index 5296246b31..b7e9af002b 100644
--- a/bgpd/bgp_packet.c
+++ b/bgpd/bgp_packet.c
@@ -1658,10 +1658,11 @@ static int bgp_update_receive(struct peer *peer, bgp_size_t size)
if (peer->nsf[afi][safi])
bgp_clear_stale_route(peer, afi, safi);
- zlog_info("%%NOTIFICATION: rcvd End-of-RIB for %s from %s in vrf %s",
- get_afi_safi_str(afi, safi, false), peer->host,
- vrf ? vrf->name : VRF_DEFAULT_NAME);
- }
+ zlog_info(
+ "%s: rcvd End-of-RIB for %s from %s in vrf %s",
+ __func__, get_afi_safi_str(afi, safi, false),
+ peer->host, vrf ? vrf->name : VRF_DEFAULT_NAME);
+ }
}
/* Everything is done. We unintern temporary structures which