Merge pull request #742 from majestrate/master

unbreak snode traffic
This commit is contained in:
Jeff 2019-07-30 15:02:10 -04:00 committed by GitHub
commit 2f43a6d692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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