pull/66/head
Jeff Becker 6 years ago
parent cd94da7ffe
commit d44872496f
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -103,9 +103,11 @@ namespace llarp
ExitEndpoint::GetIPForIdent(const llarp::PubKey &pk)
{
huint32_t found = {0};
if(m_KeyToIP.count(pk))
auto itr = m_KeyToIP.find(pk);
if(itr != m_KeyToIP.end())
{
found = m_KeyToIP[pk];
found = itr->second;
llarp::LogInfo(Name(), pk, " has address ", found);
}
else
{

Loading…
Cancel
Save