Wait before retrying on CEASE.
Using bgp_restart() floods the peer with connection requests. Use bgp_retry() instead. Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
parent
b36141c0c7
commit
625794576e
1 changed files with 1 additions and 1 deletions
2
bgp.c
2
bgp.c
|
|
@ -1011,7 +1011,7 @@ static int bgp_handle_input(struct bgp_peer *peer)
|
|||
if (notification->error_code == BGP_ERR_CEASE)
|
||||
{
|
||||
LOG(4, 0, 0, "BGP peer %s sent CEASE\n", peer->name);
|
||||
bgp_restart(peer);
|
||||
bgp_set_retry(peer);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue