mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-17 15:25:35 +00:00
please don't work
This commit is contained in:
parent
c034f33ed2
commit
92f8c059e9
@ -1848,7 +1848,13 @@ namespace llarp
|
||||
bool
|
||||
Router::HasSessionTo(const RouterID &remote) const
|
||||
{
|
||||
return validRouters.find(remote) != validRouters.end();
|
||||
for(const auto & link : outboundLinks)
|
||||
if(link->HasSessionTo(remote))
|
||||
return true;
|
||||
for(const auto & link : inboundLinks)
|
||||
if(link->HasSessionTo(remote))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user