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.
This commit is contained in:
Robert Watson 2001-12-07 17:01:28 +00:00
parent f34b139cda
commit c39a614e0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87499

View File

@ -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");