# HG changeset patch # User Kim Alvefur # Date 1391955226 -3600 # Node ID 8fead005ee6081327243a7caae5ae3a970dc999f # Parent 1579b53351e240eb01a1cabc46939093e9da76f9 mod_s2s: Log a warning if no local addresses are found, as this breaks s2sout diff -r 1579b53351e2 -r 8fead005ee60 plugins/mod_s2s/s2sout.lib.lua --- a/plugins/mod_s2s/s2sout.lib.lua Thu Feb 06 10:44:21 2014 +0100 +++ b/plugins/mod_s2s/s2sout.lib.lua Sun Feb 09 15:13:46 2014 +0100 @@ -347,6 +347,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;