1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00

fixes for ipv4 traffic: dont use new range because that breaks backwards comapt

This commit is contained in:
Jeff Becker 2021-03-03 20:08:38 -05:00
parent f2b234d6c3
commit f77cbfb48e
No known key found for this signature in database
GPG key ID: F357B3B42F6F9B05

View file

@ -1046,7 +1046,7 @@ namespace llarp
if (t == service::eProtocolExit)
{
if (pkt.IsV4())
dst = pkt.dst4to6Lan();
dst = pkt.dst4to6();
else if (pkt.IsV6())
{
dst = pkt.dstv6();
@ -1065,7 +1065,7 @@ namespace llarp
if (pkt.IsV4())
{
dst = m_OurIP;
src = pkt.src4to6Lan();
src = pkt.src4to6();
}
else if (pkt.IsV6())
{