# HG changeset patch # User Kim Alvefur # Date 1570285301 -7200 # Node ID 3123a13cf5776b59e860d2cf64f891f979339bf7 # Parent 78f2a3a9c5375cea50069d2647176712e2ec74a8 core.s2smanager: Remove bidi-enabled s2sin from outgoing routing table Caused creation of new s2sout instead of proper bidi-enabled s2sin. diff -r 78f2a3a9c537 -r 3123a13cf577 core/s2smanager.lua --- a/core/s2smanager.lua Sat Oct 05 15:22:59 2019 +0200 +++ b/core/s2smanager.lua Sat Oct 05 16:21:41 2019 +0200 @@ -93,6 +93,9 @@ hosts[session.from_host].s2sout[session.to_host] = nil; session:bounce_sendq(reason); elseif session.direction == "incoming" then + if session.outgoing then + hosts[session.from_host].s2sout[session.to_host] = nil; + end incoming_s2s[session] = nil; end