File 1152-Tweak-inet-keepalive-option-documentation.patch of Package erlang

From 145450c789de46c0927ce9a212b5dea13f4732bc Mon Sep 17 00:00:00 2001
From: Nico Piderman <nico.piderman@gmail.com>
Date: Wed, 17 Feb 2021 20:02:25 +0100
Subject: [PATCH] Tweak inet keepalive option documentation

The value of the `keepalive` option should be a boolean, but the
documentation states that the default is `disabled` which is not a
boolean.
---
 lib/kernel/doc/src/inet.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/kernel/doc/src/inet.xml b/lib/kernel/doc/src/inet.xml
index 8387b01930..6f6265157c 100644
--- a/lib/kernel/doc/src/inet.xml
+++ b/lib/kernel/doc/src/inet.xml
@@ -1048,7 +1048,7 @@ get_tcpi_sacked(Sock) ->
               socket when no other data is exchanged. If
               the other end does not respond, the connection is
               considered broken and an error message is sent to
-              the controlling process. Defaults to <c>disabled</c>.</p>
+              the controlling process. Defaults to <c>false</c>.</p>
             <marker id="option-linger"></marker>
           </item>
           <tag><c>{linger, {true|false, Seconds}}</c></tag>
-- 
2.26.2

openSUSE Build Service is sponsored by