summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-06 19:21:23 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-06 19:21:23 +0000
commit48951d9dccee3e72274bb0edb0ecdcf8f52fc77b (patch)
treea037ef61deca1fdb2d92fc19db642f23192c5b67 /usr.sbin/bgpd/session.h
parent1ed474925992b650da2233b2dd608768530dee9b (diff)
lower the initial value for the IdleHold timer from 90 to 30 seconds.
90 is too much, and now that the punishment works as intended oscillating peers get slowed down by that
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index 12721f951d3..7d283eb9aef 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.14 2004/01/06 19:19:21 henning Exp $ */
+/* $OpenBSD: session.h,v 1.15 2004/01/06 19:21:22 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -23,7 +23,7 @@
#define INTERVAL_CONNECTRETRY 120
#define INTERVAL_HOLD_INITIAL 240
#define INTERVAL_HOLD 90
-#define INTERVAL_IDLE_HOLD_INITIAL 90
+#define INTERVAL_IDLE_HOLD_INITIAL 30
#define MAX_IDLE_HOLD 3600
#define MSGSIZE_HEADER 19
#define MSGSIZE_HEADER_MARKER 16