From e7e9ca54df37a2167d52936a850eb911d0d525b5 Mon Sep 17 00:00:00 2001 From: Badlop Date: Fri, 6 Nov 2020 15:50:50 +0100 Subject: [PATCH] Document outgoing_s2s_ipv4_address and ipv6 options (#3396) --- src/ejabberd_options_doc.erl | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 =>