Rediff patches

Drop 0004-use-exisitng-convotag-first-instead-of-trying-to-sen.patch: <REASON>
ubuntu/hirsute
Jason Rhinelander 3 years ago
parent 837b825da2
commit fc748d7d3b

@ -1,29 +0,0 @@
From: Jeff Becker <jeff@i2p.rocks>
Date: Fri, 11 Jun 2021 11:47:24 -0400
Subject: use exisitng convotag first instead of trying to send to directly
---
llarp/handlers/tun.cpp | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/llarp/handlers/tun.cpp b/llarp/handlers/tun.cpp
index c816297..f9e2820 100644
--- a/llarp/handlers/tun.cpp
+++ b/llarp/handlers/tun.cpp
@@ -973,10 +973,13 @@ namespace llarp
}
// try sending it on an existing convotag
// this succeds for inbound convos, probably.
- if (SendToOrQueue(to, pkt.ConstBuffer(), type))
+ if (auto maybe = GetBestConvoTagFor(to))
{
- MarkIPActive(dst);
- return;
+ if (SendToOrQueue(*maybe, pkt.ConstBuffer(), type))
+ {
+ MarkIPActive(dst);
+ return;
+ }
}
// try establishing a path to this guy
// will fail if it's an inbound convo

@ -8,10 +8,10 @@ Rather than cramming it into CXXFLAGS in debian/rules.
1 file changed, 3 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9ff002b..49e4112 100644
index ea26515..475590b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -111,6 +111,9 @@ include(cmake/unix.cmake)
@@ -116,6 +116,9 @@ include(cmake/unix.cmake)
include(cmake/check_for_std_optional.cmake)
include(cmake/check_for_std_filesystem.cmake)

@ -1,4 +1,3 @@
0004-Make-root-bootstraps-to-system-path.patch
0005-Move-default-user-group-into-deb-patch.patch
0007-Pass-debian-version-as-GIT_VERSION.patch
0004-use-exisitng-convotag-first-instead-of-trying-to-sen.patch

Loading…
Cancel
Save