get family string from local RouterInfo

This commit is contained in:
orignal 2016-04-28 18:16:11 -04:00
parent c5f2890cbe
commit 5e2dc14dd5
6 changed files with 15 additions and 15 deletions

View file

@ -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)