|
|
|
@ -186,7 +186,8 @@ namespace llarp
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool
|
|
|
|
|
ExitEndpoint::VisitEndpointsFor(const PubKey & pk, std::function<bool(exit::Endpoint * const)> visit)
|
|
|
|
|
ExitEndpoint::VisitEndpointsFor(
|
|
|
|
|
const PubKey &pk, std::function< bool(exit::Endpoint *const) > visit)
|
|
|
|
|
{
|
|
|
|
|
auto range = m_ActiveExits.equal_range(pk);
|
|
|
|
|
auto itr = range.first;
|
|
|
|
@ -228,8 +229,7 @@ namespace llarp
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if(!VisitEndpointsFor(pk, [&](exit::Endpoint * const ep) -> bool
|
|
|
|
|
{
|
|
|
|
|
if(!VisitEndpointsFor(pk, [&](exit::Endpoint *const ep) -> bool {
|
|
|
|
|
if(!ep->QueueInboundTraffic(ManagedBuffer{pkt.Buffer()}))
|
|
|
|
|
{
|
|
|
|
|
LogWarn(Name(), " dropped inbound traffic for session ", pk,
|
|
|
|
|