From: Benjamin Cama Date: Mon, 25 Jul 2011 16:16:46 +0000 (+0200) Subject: Retry on unsupported capability, not restart immediatly. X-Git-Tag: debian/2.2.1-1fdn1~1^2^2 X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/21ae6221cf930ed4aa9bb6a4f9cafab2cdc5fe76?ds=inline Retry on unsupported capability, not restart immediatly. Signed-off-by: Benjamin Cama --- diff --git a/bgp.c b/bgp.c index 0566393..4a4bea0 100644 --- 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; }