increment sequence number on good send only

pull/331/head
Jeff Becker 5 years ago
parent 652d8cd036
commit b511242632
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -1620,13 +1620,13 @@ namespace llarp
path = m_Endpoint->GetPathByRouter(remoteIntro.router);
if(path)
{
++sequenceNo;
routing::PathTransferMessage transfer(msg, remoteIntro.pathID);
if(path->SendRoutingMessage(&transfer, m_Endpoint->Router()))
{
llarp::LogDebug("sent data to ", remoteIntro.pathID, " on ",
remoteIntro.router);
lastGoodSend = m_Endpoint->Now();
++sequenceNo;
}
else
llarp::LogError("Failed to send frame on path");

Loading…
Cancel
Save