call hook

pull/500/head
Jeff Becker 5 years ago
parent 6220fef2dc
commit 04a5db8789
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -592,8 +592,11 @@ namespace llarp
}
else if(dlt >= path::alive_timeout && m_LastRecvMessage == 0)
{
r->routerProfiling().MarkPathFail(this);
EnterState(ePathTimeout, now);
if(m_CheckForDead && m_CheckForDead(this, dlt))
{
r->routerProfiling().MarkPathFail(this);
EnterState(ePathTimeout, now);
}
}
}
}

Loading…
Cancel
Save