mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
renew connected receintly timestamp, add endpoint to the list if hole punch is being sent
This commit is contained in:
parent
ae26758170
commit
2fa4237acd
3 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue