Diff

plugins/mod_s2s/s2sout.lib.lua @ 6017:ac0879a8190a

Merge 0.9 -> 0.10
author Kim Alvefur <zash@zash.se>
date Wed, 12 Feb 2014 19:26:22 +0100
parent 5859:e327f2d4e09f
parent 6015:8fead005ee60
child 6256:d05627c89c99
line wrap: on
line diff
--- a/plugins/mod_s2s/s2sout.lib.lua	Wed Feb 12 19:25:15 2014 +0100
+++ b/plugins/mod_s2s/s2sout.lib.lua	Wed Feb 12 19:26:22 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;