diff options
author | Kim Alvefur <zash@zash.se> | 2014-02-12 19:26:54 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-02-12 19:26:54 +0100 |
commit | 08f04b1419c2c8878d3836d11cd7af806a083898 (patch) | |
tree | 6eb49f8bddde74f4f7a621d0fb2770d60c093b4f /plugins/mod_s2s/s2sout.lib.lua | |
parent | db97ec41b600653e046c0d6ee7c2625105a5a761 (diff) | |
parent | a0ece01720887a029783f813da186d624aa41ba8 (diff) | |
download | prosody-08f04b1419c2c8878d3836d11cd7af806a083898.tar.gz prosody-08f04b1419c2c8878d3836d11cd7af806a083898.zip |
Merge 0.10 -> trunk
Diffstat (limited to 'plugins/mod_s2s/s2sout.lib.lua')
-rw-r--r-- | plugins/mod_s2s/s2sout.lib.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_s2s/s2sout.lib.lua b/plugins/mod_s2s/s2sout.lib.lua index dbbef360..42b4281c 100644 --- a/plugins/mod_s2s/s2sout.lib.lua +++ b/plugins/mod_s2s/s2sout.lib.lua @@ -348,6 +348,9 @@ module:hook_global("service-added", function (event) has_ipv4 = true; end end + if not (has_ipv4 or has_ipv6) then + module:log("warn", "No local IPv4 or IPv6 addresses detected, outgoing connections may fail"); + end end); return s2sout; |