From f349677f1cf043904d0bb280eb2a0608ba1f92b6 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 30 Jul 2019 14:47:25 -0400 Subject: [PATCH] use ipv4 address on snodes for now --- llarp/handlers/exit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llarp/handlers/exit.cpp b/llarp/handlers/exit.cpp index 41470f918..33b7970d4 100644 --- a/llarp/handlers/exit.cpp +++ b/llarp/handlers/exit.cpp @@ -242,7 +242,7 @@ namespace llarp m_InetToNetwork.Process([&](Pkt_t &pkt) { PubKey pk; { - auto itr = m_IPToKey.find(pkt.dstv6()); + auto itr = m_IPToKey.find(net::IPPacket::ExpandV4(pkt.dstv4())); if(itr == m_IPToKey.end()) { // drop