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
1 From f89b09be92bed03b1e5add55dc14ef92e94c52e1 Mon Sep 17 00:00:00 2001
2 From: Daniel Walton <dwalton@cumulusnetworks.com>
3 Date: Wed, 21 Oct 2015 06:42:52 -0700
4 Subject: [PATCH] bgpd: Lower BGP's default keepalive/holdtime to 3s/9s
5
6 Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
7 Reviewed-by:   Donald Sharp <sharpd@cumulusnetworks.com>
8 ---
9  bgpd/bgpd.h | 4 ++--
10  1 file changed, 2 insertions(+), 2 deletions(-)
11
12 diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
13 index 105912e..d4c8dbd 100644
14 --- a/bgpd/bgpd.h
15 +++ b/bgpd/bgpd.h
16 @@ -742,8 +742,8 @@ struct bgp_nlri
17  
18  /* BGP timers default value.  */
19  #define BGP_INIT_START_TIMER                     5
20 -#define BGP_DEFAULT_HOLDTIME                   180
21 -#define BGP_DEFAULT_KEEPALIVE                   60 
22 +#define BGP_DEFAULT_HOLDTIME                     9
23 +#define BGP_DEFAULT_KEEPALIVE                    3
24  #define BGP_DEFAULT_EBGP_ROUTEADV               30
25  #define BGP_DEFAULT_IBGP_ROUTEADV                5
26  #define BGP_CLEAR_CONNECT_RETRY                 20
27 -- 
28 2.7.0
29