From c26cb638153f210052ba6e7be390a9bb863f0586 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Wed, 20 Apr 2016 22:08:49 -0400 Subject: [PATCH] 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 --- bgpd/bgp_network.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 */ -- 2.39.5