renew connected receintly timestamp, add endpoint to the list if hole punch is being sent

This commit is contained in:
orignal 2024-09-18 14:35:59 -04:00
parent ae26758170
commit 2fa4237acd
3 changed files with 13 additions and 5 deletions

View file

@ -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
{