]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Remove misleading 'NOTIFICATION' string from End-of-RIB log 5564/head
authorTrey Aspelund <taspelund@cumulusnetworks.com>
Wed, 18 Dec 2019 20:58:26 +0000 (15:58 -0500)
committerTrey Aspelund <taspelund@cumulusnetworks.com>
Wed, 18 Dec 2019 20:58:26 +0000 (15:58 -0500)
'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>
bgpd/bgp_packet.c

index 5296246b31854bdc09369075351d55726cb3d243..b7e9af002b40294084bd6f56627a928a38034b4e 100644 (file)
@@ -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