mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
reseed from SU3
This commit is contained in:
parent
96851ab2fd
commit
3643d2f1da
4 changed files with 142 additions and 94 deletions
|
@ -165,6 +165,13 @@ namespace data
|
|||
}
|
||||
}
|
||||
|
||||
void NetDb::AddRouterInfo (const uint8_t * buf, int len)
|
||||
{
|
||||
IdentityEx identity;
|
||||
identity.FromBuffer (buf, len);
|
||||
AddRouterInfo (identity.GetIdentHash (), buf, len);
|
||||
}
|
||||
|
||||
void NetDb::AddRouterInfo (const IdentHash& ident, const uint8_t * buf, int len)
|
||||
{
|
||||
DeleteRequestedDestination (ident);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue