bgpd: Reduce the default connect retry timer to 30 seconds

RFC 4271 recommends this 120 seconds, but most of the implementations use 60.

For a datacenter profile we set it to 10 seconds.

Let's roll with 30 and increase up to the maximum 120.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2024-12-05 10:18:02 +02:00
parent ef4a9215b9
commit 44f4a8ec40

View File

@ -2105,7 +2105,7 @@ struct bgp_nlri {
*/
#define BGP_DEFAULT_HOLDTIME 180
#define BGP_DEFAULT_KEEPALIVE 60
#define BGP_DEFAULT_CONNECT_RETRY 120
#define BGP_DEFAULT_CONNECT_RETRY 30
#define BGP_DEFAULT_EBGP_ROUTEADV 0
#define BGP_DEFAULT_IBGP_ROUTEADV 0