Skip to content

Commit

Permalink
don't handle ack request for router
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Feb 20, 2023
1 parent 200ad55 commit 3adff82
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libi2pd/ECIESX25519AEADRatchetSession.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2021, The PurpleI2P Project
* Copyright (c) 2013-2023, The PurpleI2P Project
*
* This file is part of Purple i2pd project and licensed under BSD3
*
Expand Down Expand Up @@ -335,7 +335,8 @@ namespace garlic
case eECIESx25519BlkAckRequest:
{
LogPrint (eLogDebug, "Garlic: Ack request");
m_AckRequests.push_back ({receiveTagset->GetTagSetID (), index});
if (receiveTagset)
m_AckRequests.push_back ({receiveTagset->GetTagSetID (), index});
break;
}
case eECIESx25519BlkTermination:
Expand Down

0 comments on commit 3adff82

Please sign in to comment.