Retry on unsupported capability, not restart immediatly.
authorBenjamin Cama <benoar@dolka.fr>
Mon, 25 Jul 2011 16:16:46 +0000 (18:16 +0200)
committerBenjamin Cama <benoar@dolka.fr>
Thu, 28 Jul 2011 13:01:58 +0000 (15:01 +0200)
Signed-off-by: Benjamin Cama <benoar@dolka.fr>
bgp.c

diff --git a/bgp.c b/bgp.c
index 0566393..4a4bea0 100644 (file)
--- a/bgp.c
+++ b/bgp.c
@@ -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;
            }