treat ignored paths like established paths when dealing with expiration

pull/1658/head
Jeff Becker 3 years ago
parent 23aa35b825
commit 2a76a3d081
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -513,7 +513,7 @@ namespace llarp
{ {
return now >= m_LastRecvMessage + PathReanimationTimeout; return now >= m_LastRecvMessage + PathReanimationTimeout;
} }
if (_status == ePathEstablished) if (_status == ePathEstablished or _status == ePathIgnore)
{ {
return now >= ExpireTime(); return now >= ExpireTime();
} }

Loading…
Cancel
Save