only shift introset when we get a drop that matches current intro set

pull/15/head
Jeff Becker 6 years ago
parent cde76250ca
commit d83eb54739
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -706,9 +706,12 @@ namespace llarp
llarp::LogWarn(Name(), " message ", seq, " dropped by endpoint ",
p->Endpoint(), " via ", dst);
// pick another intro
MarkCurrentIntroBad();
ShiftIntroduction();
// UpdateIntroSet();
if(dst == remoteIntro.pathID)
{
MarkCurrentIntroBad();
ShiftIntroduction();
}
UpdateIntroSet();
return true;
}

Loading…
Cancel
Save