From 6bb31468d771518dd40ab620485d7d2b73b12353 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Wed, 5 May 2021 08:57:39 -0400 Subject: [PATCH] don't send nx if we have an address already mapped --- 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 f1626d468..298946d77 100644 --- a/llarp/handlers/tun.hpp +++ b/llarp/handlers/tun.hpp @@ -222,7 +222,7 @@ namespace llarp std::function reply, bool sendIPv6) { - if (ctx) + if (ctx or HasAddress(addr)) { huint128_t ip = ObtainIPForAddr(addr); query->answers.clear();