diff --git a/llarp/handlers/tun.cpp b/llarp/handlers/tun.cpp index 5411816a1..4f2a48490 100644 --- a/llarp/handlers/tun.cpp +++ b/llarp/handlers/tun.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -793,7 +794,11 @@ namespace llarp MarkAddressOutbound(addr); EnsurePathToService( addr, - [addr, pkt, self = this](service::Address, service::OutboundContext*) { + [addr, pkt, self = this](service::Address, service::OutboundContext* ctx) { + if (ctx) + { + ctx->sendTimeout = 5s; + } self->SendToServiceOrQueue(addr, pkt.ConstBuffer(), service::eProtocolExit); }, 1s);