dont mark exits as dead when thy arent

pull/189/head
Jeff Becker 5 years ago
parent 17eff33d28
commit f993bd287d
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -78,9 +78,9 @@ namespace llarp
if(!path)
return true;
auto lastPing = path->LastRemoteActivityAt();
if(now > lastPing && now - lastPing > timeout)
if(lastPing && now > lastPing && now - lastPing > timeout)
return now > m_LastActive && now - m_LastActive > timeout;
return true;
return lastPing > 0;
}
bool

Loading…
Cancel
Save