mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't specify RI for inbound NTCP connections
This commit is contained in:
parent
f81a122223
commit
8d75d51803
4 changed files with 25 additions and 22 deletions
|
@ -184,13 +184,13 @@ namespace transport
|
|||
void Transports::AddNTCPSession (NTCPSession * session)
|
||||
{
|
||||
if (session)
|
||||
m_NTCPSessions[session->GetRemoteRouterInfo ().GetIdentHash ()] = session;
|
||||
m_NTCPSessions[session->GetRemoteRouterIdentity ().GetIdentHash ()] = session;
|
||||
}
|
||||
|
||||
void Transports::RemoveNTCPSession (NTCPSession * session)
|
||||
{
|
||||
if (session)
|
||||
m_NTCPSessions.erase (session->GetRemoteRouterInfo ().GetIdentHash ());
|
||||
m_NTCPSessions.erase (session->GetRemoteRouterIdentity ().GetIdentHash ());
|
||||
}
|
||||
|
||||
void Transports::HandleAccept (NTCPServerConnection * conn, const boost::system::error_code& error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue