bgpd: do not bounce peer when re-binding to current peer-group

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
This commit is contained in:
Daniel Walton 2017-08-09 20:47:05 +04:00
parent ed9fb82638
commit d8a079e8a2

View File

@ -2523,7 +2523,8 @@ int peer_group_bind(struct bgp *bgp, union sockunion *su, struct peer *peer,
if (peer_group_active(peer)) {
/* The peer is already bound to the peer-group,
* nothing to do */
* nothing to do
*/
if (strcmp(peer->group->name, group->name) == 0)
return 0;
else