From 88e87d589bdd5835a928a48033b2a2d1a3ff3473 Mon Sep 17 00:00:00 2001 From: orignal Date: Thu, 9 Aug 2018 14:20:10 -0400 Subject: [PATCH] add incoming NTCP2 session to the sessions list --- libi2pd/NTCP2.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libi2pd/NTCP2.cpp b/libi2pd/NTCP2.cpp index 0e3f263f..6f524920 100644 --- a/libi2pd/NTCP2.cpp +++ b/libi2pd/NTCP2.cpp @@ -619,6 +619,7 @@ namespace transport // ready to communicate auto existing = i2p::data::netdb.FindRouter (ri.GetRouterIdentity ()->GetIdentHash ()); // check if exists already SetRemoteIdentity (existing ? existing->GetRouterIdentity () : ri.GetRouterIdentity ()); + m_Server.AddNTCP2Session (shared_from_this ()); Established (); SendRouterInfo (); ReceiveLength ();