File 2282-erts-Rearrange-xml-for-handshake-send_status.patch of Package erlang
From eaac83611cb86a404572a3f7ae81c7d32b345486 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Mon, 2 May 2022 19:24:58 +0200
Subject: [PATCH 2/2] erts: Rearrange xml for handshake send_status
The table and the following paragraph belongs to "named:".
---
erts/doc/src/erl_dist_protocol.xml | 50 +++++++++++++++---------------
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/erts/doc/src/erl_dist_protocol.xml b/erts/doc/src/erl_dist_protocol.xml
index 613d821b15..2031b60cbd 100644
--- a/erts/doc/src/erl_dist_protocol.xml
+++ b/erts/doc/src/erl_dist_protocol.xml
@@ -749,32 +749,32 @@ io:format("old/unused name ~ts at port ~p, fd = ~p ~n",
<c>B</c>. The host name of <c>A</c> which was sent as <c>Name</c>
in <c>send_name</c> will be used by node <c>B</c> to generate
the full dynamic node name.</p>
- </item>
+ <table align="left">
+ <row>
+ <cell align="center">1</cell>
+ <cell align="center">Slen=6</cell>
+ <cell align="center">2</cell>
+ <cell align="center">Nlen</cell>
+ <cell align="center">4</cell>
+ </row>
+ <row>
+ <cell align="center"><c>'s'</c></cell>
+ <cell align="center"><c>Status='named:'</c></cell>
+ <cell align="center"><c>Nlen</c></cell>
+ <cell align="center"><c>Name</c></cell>
+ <cell align="center"><c>Creation</c></cell>
+ </row>
+ <tcaption>The format of the 'named:' status message</tcaption>
+ </table>
+ <p>
+ <c>Name</c> is the full dynamic node name of <c>A</c>, as a
+ string of bytes. <c>Nlen</c> is the byte length of the node name in
+ 16-bit big endian. <c>Creation</c> is the incarnation identifier
+ of node <c>A</c> generated by node <c>B</c>.
+ Any extra data after the node <c>Creation</c> must be accepted and ignored.
+ </p>
+ </item>
</taglist>
- <table align="left">
- <row>
- <cell align="center">1</cell>
- <cell align="center">Slen=6</cell>
- <cell align="center">2</cell>
- <cell align="center">Nlen</cell>
- <cell align="center">4</cell>
- </row>
- <row>
- <cell align="center"><c>'s'</c></cell>
- <cell align="center"><c>Status='named:'</c></cell>
- <cell align="center"><c>Nlen</c></cell>
- <cell align="center"><c>Name</c></cell>
- <cell align="center"><c>Creation</c></cell>
- </row>
- <tcaption>The format of the 'named:' status message</tcaption>
- </table>
- <p>
- <c>Name</c> is the full dynamic node name of <c>A</c>, as a
- string of bytes. <c>Nlen</c> is the byte length of the node name in
- 16-bit big endian. <c>Creation</c> is the incarnation identifier
- of node <c>A</c> generated by node <c>B</c>.
- Any extra data after the node <c>Creation</c> must be accepted and ignored.
- </p>
</item>
<tag>3B) <c>send_status</c>/<c>recv_status</c></tag>
<item>
--
2.35.3