Retry on unsupported capability, not restart immediatly.

Signed-off-by: Benjamin Cama <benoar@dolka.fr>
This commit is contained in:
Benjamin Cama 2011-07-25 18:16:46 +02:00
parent 60bd25ccdc
commit 21ae6221cf

2
bgp.c
View file

@ -1303,7 +1303,7 @@ static int bgp_handle_input(struct bgp_peer *peer)
{
LOG(4, 0, 0, "BGP peer %s doesn't support BGP Capabilities\n", peer->name);
peer->mp_handling = DoesntHandleIPv6Routes;
bgp_restart(peer);
bgp_set_retry(peer);
return 0;
}