Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
6011:a35c9e52b02e | 6018:4a276653a2c9 |
---|---|
346 has_ipv6 = true; | 346 has_ipv6 = true; |
347 elseif sources[i].proto == "IPv4" then | 347 elseif sources[i].proto == "IPv4" then |
348 has_ipv4 = true; | 348 has_ipv4 = true; |
349 end | 349 end |
350 end | 350 end |
351 if not (has_ipv4 or has_ipv6) then | |
352 module:log("warn", "No local IPv4 or IPv6 addresses detected, outgoing connections may fail"); | |
353 end | |
351 end); | 354 end); |
352 | 355 |
353 return s2sout; | 356 return s2sout; |