modernize backfire 10.03 so it can be operational again
[openwrt-10.03/.git] / package / quagga / not-patches / patches-old / nopes / 180-bgpd-lower_default_keepalive_holdtime.patch
diff --git a/package/quagga/not-patches/patches-old/nopes/180-bgpd-lower_default_keepalive_holdtime.patch b/package/quagga/not-patches/patches-old/nopes/180-bgpd-lower_default_keepalive_holdtime.patch
new file mode 100644 (file)
index 0000000..d0476f5
--- /dev/null
@@ -0,0 +1,29 @@
+From f89b09be92bed03b1e5add55dc14ef92e94c52e1 Mon Sep 17 00:00:00 2001
+From: Daniel Walton <dwalton@cumulusnetworks.com>
+Date: Wed, 21 Oct 2015 06:42:52 -0700
+Subject: [PATCH] bgpd: Lower BGP's default keepalive/holdtime to 3s/9s
+
+Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
+Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
+---
+ bgpd/bgpd.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
+index 105912e..d4c8dbd 100644
+--- a/bgpd/bgpd.h
++++ b/bgpd/bgpd.h
+@@ -742,8 +742,8 @@ struct bgp_nlri
+ /* BGP timers default value.  */
+ #define BGP_INIT_START_TIMER                     5
+-#define BGP_DEFAULT_HOLDTIME                   180
+-#define BGP_DEFAULT_KEEPALIVE                   60 
++#define BGP_DEFAULT_HOLDTIME                     9
++#define BGP_DEFAULT_KEEPALIVE                    3
+ #define BGP_DEFAULT_EBGP_ROUTEADV               30
+ #define BGP_DEFAULT_IBGP_ROUTEADV                5
+ #define BGP_CLEAR_CONNECT_RETRY                 20
+-- 
+2.7.0
+