add additional fallback case

pull/1925/head
Jeff 2 years ago
parent 229e1277fd
commit 4a10868f85
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D

@ -159,6 +159,11 @@ namespace llarp
// we do not have our claimed ip, nat or something?
m_ourAddr = *maybe;
}
else if (auto maybe = net::AllInterfaces(SockAddr{"0.0.0.0"}))
{
// one last fallback
m_ourAddr = *maybe;
}
else
return false; // the ultimate failure case
}

Loading…
Cancel
Save