From 4994208fbc90777781b1c30a4c6dea7b68f0c3d3 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 2 Jun 2021 15:27:13 -0400 Subject: [PATCH] don't cache dns result if we have an address mapped. we want to use dns to trigger a call to EnsurePathTo --- llarp/handlers/tun.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/handlers/tun.hpp b/llarp/handlers/tun.hpp index 685898e17..2f0679485 100644 --- a/llarp/handlers/tun.hpp +++ b/llarp/handlers/tun.hpp @@ -228,7 +228,7 @@ namespace llarp std::function reply, bool sendIPv6) { - if (ctx or HasAddress(addr)) + if (ctx) { huint128_t ip = ObtainIPForAddr(addr); query->answers.clear();