diff options
author | Kim Alvefur <zash@zash.se> | 2014-02-12 19:26:22 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-02-12 19:26:22 +0100 |
commit | a8479fce152379d3e095aa0204aa022c5b47d4e0 (patch) | |
tree | 32c8de1b1bd02761e9b058e38b71d78871078c54 /plugins/mod_s2s/s2sout.lib.lua | |
parent | 4078dc07a2a867aa7e7f010c63a9a85b52c433ee (diff) | |
parent | bc6f1c6085f6e248acefa7dd110d5f21a262fe8f (diff) | |
download | prosody-a8479fce152379d3e095aa0204aa022c5b47d4e0.tar.gz prosody-a8479fce152379d3e095aa0204aa022c5b47d4e0.zip |
Merge 0.9 -> 0.10
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; |