summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2024-12-05 10:18:02 +0200
committerDonatas Abraitis <donatas@opensourcerouting.org>2024-12-11 15:56:12 +0200
commit44f4a8ec4049c54e8d25465a735174bd0f15f81e (patch)
tree975bb414e645e951f9662b04df06c34f2856517e
parentef4a9215b912c885498715614ee01b43dc861c1a (diff)
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>
-rw-r--r--bgpd/bgpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index bb56fd355a..fafd207110 100644
--- a/bgpd/bgpd.h
+++ b/bgpd/bgpd.h
@@ -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