Sun, 04 Oct 2009 16:34:17 +0100
s2smanager: Give outgoing sessions a host field (the local one)
core/s2smanager.lua | file | annotate | diff | comparison | revisions |
--- a/core/s2smanager.lua Sun Oct 04 16:31:27 2009 +0100 +++ b/core/s2smanager.lua Sun Oct 04 16:34:17 2009 +0100 @@ -145,7 +145,9 @@ end function new_outgoing(from_host, to_host) - local host_session = { to_host = to_host, from_host = from_host, notopen = true, type = "s2sout_unauthed", direction = "outgoing" }; + local host_session = { to_host = to_host, from_host = from_host, host = from_host, + notopen = true, type = "s2sout_unauthed", direction = "outgoing" }; + hosts[from_host].s2sout[to_host] = host_session; local log;