mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-07 06:09:42 +00:00
renew connected receintly timestamp, add endpoint to the list if hole punch is being sent
This commit is contained in:
@@ -2054,6 +2054,7 @@ namespace transport
|
||||
token = m_Server.GetIncomingToken (ep);
|
||||
isV4 = ep.address ().is_v4 ();
|
||||
SendHolePunch (bufbe32toh (buf + 33), ep, addr->i, token);
|
||||
m_Server.AddConnectedRecently (ep, i2p::util::GetSecondsSinceEpoch ());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user