From: Donald Sharp Date: Thu, 21 Apr 2016 02:08:49 +0000 (-0400) Subject: bgp: Anti-Yammer Patch X-Git-Tag: frr-2.0-rc1~958^2~3 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c26cb638153f210052ba6e7be390a9bb863f0586;p=matthieu%2Ffrr.git bgp: Anti-Yammer Patch When you shutdown interfaces with ifdown -a -X eth0 bgp would still attempt to talk to it's configured neighbors but since the interface is down it would just complain and complain. Now that we have somewhat aggressive timers the error message really starts to show up. Signed-off-by: Donald Sharp Reviewed-by: Daniel Walton --- diff --git a/bgpd/bgp_network.c b/bgpd/bgp_network.c index 4cdeaeb7d5..294410a3fd 100644 --- a/bgpd/bgp_network.c +++ b/bgpd/bgp_network.c @@ -490,7 +490,8 @@ bgp_bind (struct peer *peer) if (ret < 0) { - zlog_info ("bind to interface %s failed", name); + if (bgp_debug_neighbor_events (peer)) + zlog_debug ("bind to interface %s failed", name); return ret; } #endif /* SO_BINDTODEVICE */