summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/bgpd/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 7b06191dcb1..6406a2a9205 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.260 2006/08/27 16:11:05 henning Exp $ */
+/* $OpenBSD: session.c,v 1.261 2006/08/27 16:19:18 henning Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -965,7 +965,7 @@ session_accept(int listenfd)
p = getpeerbyip((struct sockaddr *)&cliaddr);
if (p != NULL && p->state == STATE_IDLE && p->errcnt < 2 &&
- p->ConnectRetryTimer > 0) {
+ p->IdleHoldTimer > 0) {
/* fast reconnect after clear */
p->passive = 1;
bgp_fsm(p, EVNT_START);