# HG changeset patch # User Florian Zeitz # Date 1332779029 -7200 # Node ID bdafc3e729db61cf466da8cebb74ba3562b556d0 # Parent 087f4b437bd2c66bf996e6b38e540dccff3fa5f8 mod_s2s: Add "::" as a IPv6 interface (thanks darkrain) diff -r 087f4b437bd2 -r bdafc3e729db plugins/s2s/s2sout.lib.lua --- a/plugins/s2s/s2sout.lib.lua Tue Mar 20 12:50:53 2012 +0100 +++ b/plugins/s2s/s2sout.lib.lua Mon Mar 26 18:23:49 2012 +0200 @@ -331,7 +331,7 @@ end elseif source == "::" then if not socket.local_addresses then - sources[#sources + 1] = new_ip("::", "IPv4"); + sources[#sources + 1] = new_ip("::", "IPv6"); else for _, addr in ipairs(socket.local_addresses("ipv6", true)) do sources[#sources + 1] = new_ip(addr, "IPv6");