mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
support of RI with EcDSA
This commit is contained in:
parent
a449dc1377
commit
f9ec60265a
6 changed files with 25 additions and 39 deletions
|
@ -34,7 +34,7 @@ namespace i2p
|
|||
void RouterContext::NewRouterInfo ()
|
||||
{
|
||||
i2p::data::RouterInfo routerInfo;
|
||||
routerInfo.SetRouterIdentity (GetIdentity ().GetStandardIdentity ());
|
||||
routerInfo.SetRouterIdentity (GetIdentity ());
|
||||
int port = i2p::util::config::GetArg("-port", 0);
|
||||
if (!port)
|
||||
port = m_Rnd.GenerateWord32 (9111, 30777); // I2P network ports range
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue