diff options
author | rwatson <rwatson@FreeBSD.org> | 2001-12-07 17:01:28 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2001-12-07 17:01:28 +0000 |
commit | 02fc34fde9741cda8ef72482cc623f95b4aa9e4a (patch) | |
tree | e2f54e1befe5d81d4fb0f7852fe34d7f6904ffff /sys | |
parent | 153ef07a498264ae6f297fd05b89e8111937ec2c (diff) | |
download | FreeBSD-src-02fc34fde9741cda8ef72482cc623f95b4aa9e4a.zip FreeBSD-src-02fc34fde9741cda8ef72482cc623f95b4aa9e4a.tar.gz |
o Our currenty userland boot code (due to rc.conf and rc.network) always
enables TCP keepalives using the net.inet.tcp.always_keepalive by default.
Synchronize the kernel default with the userland default.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/tcp_timer.c b/sys/netinet/tcp_timer.c index 488c293..087e243 100644 --- a/sys/netinet/tcp_timer.c +++ b/sys/netinet/tcp_timer.c @@ -109,7 +109,7 @@ int tcp_msl; SYSCTL_PROC(_net_inet_tcp, OID_AUTO, msl, CTLTYPE_INT|CTLFLAG_RW, &tcp_msl, 0, sysctl_msec_to_ticks, "I", "Maximum segment lifetime"); -static int always_keepalive = 0; +static int always_keepalive = 1; SYSCTL_INT(_net_inet_tcp, OID_AUTO, always_keepalive, CTLFLAG_RW, &always_keepalive , 0, "Assume SO_KEEPALIVE on all TCP connections"); |