Unflaky-ify lns dns (#1406)

* always ensure path to service on dns lookup

* deprecate profiles option
pull/1408/head
Jeff 4 years ago committed by GitHub
parent 38f13533df
commit 98e022ea21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -268,6 +268,8 @@ namespace llarp
Hidden,
AssignmentAcceptor(m_enableProfiling));
conf.defineOption<std::string>("network", "profiles", Deprecated);
conf.defineOption<std::string>(
"network",
"strict-connect",

@ -311,13 +311,6 @@ namespace llarp
service::Address addr, auto msg, bool isV6) -> bool {
using service::Address;
using service::OutboundContext;
if (self->HasAddress(addr))
{
const auto ip = self->ObtainIPForAddr(addr, false);
msg->AddINReply(ip, isV6);
reply(*msg);
return true;
}
return self->EnsurePathToService(
addr,
[=](const Address&, OutboundContext* ctx) {

Loading…
Cancel
Save