summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-09-13 23:51:44 +0000
committerpst <pst@FreeBSD.org>1996-09-13 23:51:44 +0000
commit460ca264a35697912ee6892edf43493bc7037685 (patch)
tree9a4c6784e5101afa9ee7f4c8c86e2355d2a13483 /sys/netinet/tcp_usrreq.c
parentaa0bf1e119360aec199b9032cc73b4ad92f3b4a1 (diff)
downloadFreeBSD-src-460ca264a35697912ee6892edf43493bc7037685.zip
FreeBSD-src-460ca264a35697912ee6892edf43493bc7037685.tar.gz
Make the misnamed tcp initial keepalive timer value (which is really the
time, in seconds, that state for non-established TCP sessions stays about) a sysctl modifyable variable. [part 1 of two commits, I just realized I can't play with the indices as I was typing this commit message.]
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index 9fb4d48..78f8acf 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* From: @(#)tcp_usrreq.c 8.2 (Berkeley) 1/3/94
- * $Id: tcp_usrreq.c,v 1.23 1996/07/11 16:32:38 wollman Exp $
+ * $Id: tcp_usrreq.c,v 1.24 1996/07/12 17:28:47 davidg Exp $
*/
#include <sys/param.h>
@@ -891,7 +891,7 @@ tcp_connect(tp, nam)
soisconnecting(so);
tcpstat.tcps_connattempt++;
tp->t_state = TCPS_SYN_SENT;
- tp->t_timer[TCPT_KEEP] = TCPTV_KEEP_INIT;
+ tp->t_timer[TCPT_KEEP] = tcp_keepinit;
tp->iss = tcp_iss; tcp_iss += TCP_ISSINCR/2;
tcp_sendseqinit(tp);
OpenPOWER on IntegriCloud