aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-11-06 15:50:50 +0100
committerBadlop <badlop@process-one.net>2020-11-06 15:52:33 +0100
commite7e9ca54df37a2167d52936a850eb911d0d525b5 (patch)
tree447b821b50a94816cb770c232d3006c3e7f4d926 /src
parentApply cosmetic changes to outgoing s2s IP options (diff)
Document outgoing_s2s_ipv4_address and ipv6 options (#3396)
Diffstat (limited to 'src')
-rw-r--r--src/ejabberd_options_doc.erl12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/ejabberd_options_doc.erl b/src/ejabberd_options_doc.erl
index 99f02a9d4..54e38d000 100644
--- a/src/ejabberd_options_doc.erl
+++ b/src/ejabberd_options_doc.erl
@@ -920,6 +920,18 @@ doc() ->
?T("Specify which address families to try, in what order. "
"The default is '[ipv4, ipv6]' which means it first tries "
"connecting with IPv4, if that fails it tries using IPv6.")}},
+ {outgoing_s2s_ipv4_address,
+ #{value => "Address",
+ desc =>
+ ?T("Specify the IPv4 address that will be used when establishing "
+ "an outgoing S2S IPv4 connection, for example \"127.0.0.1\". "
+ "The default value is 'undefined'.")}},
+ {outgoing_s2s_ipv6_address,
+ #{value => "Address",
+ desc =>
+ ?T("Specify the IPv6 address that will be used when establishing "
+ "an outgoing S2S IPv6 connection, for example "
+ "\"::FFFF:127.0.0.1\". The default value is 'undefined'.")}},
{outgoing_s2s_port,
#{value => "1..65535",
desc =>