build one path if we don't have a path for remote intro on send

This commit is contained in:
Jeff Becker 2019-02-21 13:21:16 -05:00
parent c7e100787b
commit 21ab744b17
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -1595,6 +1595,7 @@ namespace llarp
path = m_Endpoint->GetPathByRouter(remoteIntro.router); path = m_Endpoint->GetPathByRouter(remoteIntro.router);
if(path == nullptr) if(path == nullptr)
{ {
BuildOneAlignedTo(remoteIntro.router);
llarp::LogWarn(Name(), " dropping intro frame, no path to ", llarp::LogWarn(Name(), " dropping intro frame, no path to ",
remoteIntro.router); remoteIntro.router);
return; return;