when we have an inbound session and we do a forward dns lookup

we should not look up the descriptor on the network as we
already have a session with them
pull/1198/head
Jeff Becker 4 years ago
parent fcf6f7119f
commit 67883aa945
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

@ -420,6 +420,13 @@ namespace llarp
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