mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-03-13 04:46:38 +01:00
SSU tester and introducer by default
This commit is contained in:
parent
d1ae603b93
commit
2f882a8fe7
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ namespace i2p
|
||||||
port = m_Rnd.GenerateWord32 (9111, 30777); // I2P network ports range
|
port = m_Rnd.GenerateWord32 (9111, 30777); // I2P network ports range
|
||||||
routerInfo.AddSSUAddress (i2p::util::config::GetCharArg("-host", "127.0.0.1"), port, routerInfo.GetIdentHash ());
|
routerInfo.AddSSUAddress (i2p::util::config::GetCharArg("-host", "127.0.0.1"), port, routerInfo.GetIdentHash ());
|
||||||
routerInfo.AddNTCPAddress (i2p::util::config::GetCharArg("-host", "127.0.0.1"), port);
|
routerInfo.AddNTCPAddress (i2p::util::config::GetCharArg("-host", "127.0.0.1"), port);
|
||||||
routerInfo.SetCaps (i2p::data::RouterInfo::eReachable); // LR
|
routerInfo.SetCaps (i2p::data::RouterInfo::eReachable |
|
||||||
|
i2p::data::RouterInfo::eSSUTesting | i2p::data::RouterInfo::eSSUIntroducer); // LR, BC
|
||||||
routerInfo.SetProperty ("coreVersion", I2P_VERSION);
|
routerInfo.SetProperty ("coreVersion", I2P_VERSION);
|
||||||
routerInfo.SetProperty ("netId", "2");
|
routerInfo.SetProperty ("netId", "2");
|
||||||
routerInfo.SetProperty ("router.version", I2P_VERSION);
|
routerInfo.SetProperty ("router.version", I2P_VERSION);
|
||||||
|
|
Loading…
Add table
Reference in a new issue