mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
update status before deleting session
This commit is contained in:
@@ -2296,9 +2296,9 @@ namespace transport
|
|||||||
m_Server.RemoveSession (~htobe64 (((uint64_t)nonce << 32) | nonce));
|
m_Server.RemoveSession (~htobe64 (((uint64_t)nonce << 32) | nonce));
|
||||||
break;
|
break;
|
||||||
case 7: // Alice from Charlie 2
|
case 7: // Alice from Charlie 2
|
||||||
m_Server.RemoveSession (htobe64 (((uint64_t)nonce << 32) | nonce));
|
|
||||||
if (m_Address->IsV6 ())
|
if (m_Address->IsV6 ())
|
||||||
i2p::context.SetStatusV6 (eRouterStatusOK); // set status OK for ipv6 even if from SSU2
|
i2p::context.SetStatusV6 (eRouterStatusOK); // set status OK for ipv6 even if from SSU2
|
||||||
|
m_Server.RemoveSession (htobe64 (((uint64_t)nonce << 32) | nonce));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
LogPrint (eLogWarning, "SSU2: PeerTest unexpected msg num ", buf[0]);
|
LogPrint (eLogWarning, "SSU2: PeerTest unexpected msg num ", buf[0]);
|
||||||
|
|||||||
Reference in New Issue
Block a user