From 09a97c31fc9ffc3dadcd3fa863be759df94b0822 Mon Sep 17 00:00:00 2001 From: zzz <zzz@i2pmail.org> Date: Wed, 4 Jan 2023 08:52:57 -0500 Subject: [PATCH] Reseed: Exclude SSU2 with introducers from local reseed file --- .../src/net/i2p/router/networkdb/reseed/ReseedBundler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/router/java/src/net/i2p/router/networkdb/reseed/ReseedBundler.java b/router/java/src/net/i2p/router/networkdb/reseed/ReseedBundler.java index daad40d535..4d96e108ab 100644 --- a/router/java/src/net/i2p/router/networkdb/reseed/ReseedBundler.java +++ b/router/java/src/net/i2p/router/networkdb/reseed/ReseedBundler.java @@ -97,7 +97,9 @@ public class ReseedBundler { boolean hasIPv4 = false; boolean dupIP = false; for (RouterAddress addr : addrs) { - if ("SSU".equals(addr.getTransportStyle()) && addr.getOption("itag0") != null) { + String style = addr.getTransportStyle(); + if (("SSU".equals(style) || "SSU2".equals(style)) && + addr.getOption("itag0") != null) { hasIntro = true; break; } -- GitLab