mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-26 08:41:50 +00:00
don't check destination if first packet comes from ECIESx25519 session
This commit is contained in:
parent
6b519c36c5
commit
9efdc230a9
@ -187,7 +187,7 @@ namespace stream
|
||||
if (!m_SendStreamID)
|
||||
{
|
||||
m_SendStreamID = packet->GetReceiveStreamID ();
|
||||
if (!m_RemoteIdentity && packet->GetNACKCount () == 8 && // first incoming packet
|
||||
if (!m_RemoteIdentity && !packet->from && packet->GetNACKCount () == 8 && // first incoming packet
|
||||
memcmp (packet->GetNACKs (), m_LocalDestination.GetOwner ()->GetIdentHash (), 32))
|
||||
{
|
||||
LogPrint (eLogWarning, "Streaming: Destination mismatch for ", m_LocalDestination.GetOwner ()->GetIdentHash ().ToBase32 ());
|
||||
|
Loading…
x
Reference in New Issue
Block a user