plugins/mod_s2s/s2sout.lib.lua
changeset 6015 8fead005ee60
parent 5703 ea00fc524b95
child 6017 ac0879a8190a
child 6634 45222bfb206f
--- 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;