From 11c24c6db62728a2c370d8674962936809201f30 Mon Sep 17 00:00:00 2001 From: Ian Springer Date: Thu, 19 Apr 2018 15:24:00 -0400 Subject: [PATCH] Update fact-tcp-keepalive-osx.rst net.inet.tcp.keepidle is the keepalive idle timeout (the equivalent of net.ipv4.tcp_keepalive_time on Linux). the -w option is deprecated and has no effect, so don't include it. --- source/includes/fact-tcp-keepalive-osx.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/includes/fact-tcp-keepalive-osx.rst b/source/includes/fact-tcp-keepalive-osx.rst index 2cba488359e..e61ba345bf1 100644 --- a/source/includes/fact-tcp-keepalive-osx.rst +++ b/source/includes/fact-tcp-keepalive-osx.rst @@ -4,14 +4,14 @@ .. code-block:: sh - sysctl net.inet.tcp.keepinit + sysctl net.inet.tcp.keepidle -- To change the ``net.inet.tcp.keepinit`` value, you can use the +- To change the ``net.inet.tcp.keepidle`` value, you can use the following command: .. code-block:: sh - sysctl -w net.inet.tcp.keepinit= + sysctl net.inet.tcp.keepidle= The above method for setting the TCP keepalive is not persistent; you will need to reset the value each time you reboot or restart a