mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-18 23:16:37 +02:00
update core version at start-up
This commit is contained in:
parent
3cc92f0a45
commit
d86e970876
1 changed files with 1 additions and 0 deletions
|
@ -107,6 +107,7 @@ namespace i2p
|
|||
|
||||
i2p::data::RouterInfo routerInfo(i2p::util::filesystem::GetFullPath (ROUTER_INFO)); // TODO
|
||||
m_RouterInfo.Update (routerInfo.GetBuffer (), routerInfo.GetBufferLen ());
|
||||
m_RouterInfo.SetProperty ("coreVersion", I2P_VERSION);
|
||||
m_RouterInfo.SetProperty ("router.version", I2P_VERSION);
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue