mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge 5d21a3fbce
into 3dd4d417be
This commit is contained in:
commit
aafcfdd4e3
|
@ -1267,7 +1267,7 @@ void bgp_fsm_change_status(struct peer_connection *connection,
|
|||
/* Transition into Clearing or Deleted must /always/ clear all routes..
|
||||
* (and must do so before actually changing into Deleted..
|
||||
*/
|
||||
if (status >= Clearing && (peer->established || peer != bgp->peer_self)) {
|
||||
if (status >= Clearing && (peer->established || peer == bgp->peer_self)) {
|
||||
bgp_clear_route_all(peer);
|
||||
|
||||
/* If no route was queued for the clear-node processing,
|
||||
|
|
Loading…
Reference in a new issue