mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-22 13:11:40 +00:00
get family string from local RouterInfo
This commit is contained in:
1 parent
c5f2890cbe
commit
5e2dc14dd5
6 files changed
+15
-15
No files matched your search
@@ -636,6 +636,14 @@ namespace data
|
||||
m_Properties.erase (key);
|
||||
}
|
||||
|
||||
std::string RouterInfo::GetProperty (const std::string& key) const
|
||||
{
|
||||
auto it = m_Properties.find (key);
|
||||
if (it != m_Properties.end ())
|
||||
return it->second;
|
||||
return "";
|
||||
}
|
||||
|
||||
bool RouterInfo::IsNTCP (bool v4only) const
|
||||
{
|
||||
if (v4only)
|
||||
|
||||
Reference in new issue
Block a user