mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 06:22:30 +00:00
insert existing node to routing table
This commit is contained in:
1 parent
842a2cb9b9
commit
d2b9c1a099
1 file changed
+1
-1
@@ -1024,7 +1024,7 @@ namespace torrents
|
||||
if (inserted)
|
||||
LogPrint (eLogDebug, "TorrentsDHT: Node ", node->peer.ToBase64 (), ":", node->port, " added");
|
||||
it->second->lastUpdateTime = i2p::util::GetMonotonicSeconds ();
|
||||
if (m_RoutingTable) m_RoutingTable->AddNode (node);
|
||||
if (m_RoutingTable) m_RoutingTable->AddNode (it->second);
|
||||
return it->second;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user