mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-18 08:29:58 +00:00
validate new router
This commit is contained in:
parent
6d204b4d7b
commit
c45e31b1b2
@ -229,6 +229,7 @@ namespace i2p
|
|||||||
routerInfo.CreateBuffer (m_Keys);
|
routerInfo.CreateBuffer (m_Keys);
|
||||||
m_RouterInfo.SetRouterIdentity (GetIdentity ());
|
m_RouterInfo.SetRouterIdentity (GetIdentity ());
|
||||||
m_RouterInfo.Update (routerInfo.GetBuffer (), routerInfo.GetBufferLen ());
|
m_RouterInfo.Update (routerInfo.GetBuffer (), routerInfo.GetBufferLen ());
|
||||||
|
m_RouterInfo.SetUnreachable (false);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t RouterContext::SelectRandomPort () const
|
uint16_t RouterContext::SelectRandomPort () const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user