summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2015-10-21 06:42:52 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-12-08 14:11:01 -0500
commitf89b09be92bed03b1e5add55dc14ef92e94c52e1 (patch)
treea9662e2a506a8377b53864d2ea99c5c71978e5e0 /bgpd
parent8e644534b4d20dde07306700be0503d09d30a16e (diff)
downloadquagga-f89b09be92bed03b1e5add55dc14ef92e94c52e1.tar.bz2
quagga-f89b09be92bed03b1e5add55dc14ef92e94c52e1.tar.xz
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>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h
index 105912e9..d4c8dbd8 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