mirror of https://github.com/oxen-io/lokinet
Revert "fix dns on android"
This reverts commit dace0224ec
.
This reportedly didn't fix things on Android, and most definitely breaks
macOS (with this we get a bunch of errors about expecting inbound when
we have outbound).
This commit is contained in:
parent
418eb4efaa
commit
a70035b7ec
|
@ -87,8 +87,8 @@ namespace llarp
|
|||
|
||||
OwnedBuffer buf{pkt.sz - (8 + ip_header_size)};
|
||||
std::copy_n(ptr + 8, buf.sz, buf.buf.get());
|
||||
if (m_Resolver->ShouldHandlePacket(raddr, laddr, buf))
|
||||
m_Resolver->HandlePacket(raddr, laddr, buf);
|
||||
if (m_Resolver->ShouldHandlePacket(laddr, raddr, buf))
|
||||
m_Resolver->HandlePacket(laddr, raddr, buf);
|
||||
else
|
||||
HandleGotUserPacket(std::move(pkt));
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue