Software /
code /
prosody
Diff
plugins/mod_s2s/s2sout.lib.lua @ 6018:4a276653a2c9
Merge 0.10 -> trunk
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 12 Feb 2014 19:26:54 +0100 |
parent | 6017:ac0879a8190a |
child | 6256:d05627c89c99 |
line wrap: on
line diff
--- a/plugins/mod_s2s/s2sout.lib.lua Thu Feb 06 10:55:09 2014 +0100 +++ b/plugins/mod_s2s/s2sout.lib.lua Wed Feb 12 19:26:54 2014 +0100 @@ -348,6 +348,9 @@ 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;