From 38cc130dc3a69851892a9001517ed3b264bd7346 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 10 May 2021 09:01:46 -0400 Subject: [PATCH] shift off bad intros when we get a discard message, this happens if the other side's intro expires or the pivot restarts for whatever reason. --- llarp/service/outbound_context.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llarp/service/outbound_context.cpp b/llarp/service/outbound_context.cpp index 3c1a59c48..15b16fdbe 100644 --- a/llarp/service/outbound_context.cpp +++ b/llarp/service/outbound_context.cpp @@ -46,6 +46,7 @@ namespace llarp { LogWarn(Name(), " message ", seq, " dropped by endpoint ", p->Endpoint(), " via ", dst); MarkCurrentIntroBad(Now()); + ShiftIntroduction(false); } return true; }