I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit cf3efc11 authored by zzz's avatar zzz
Browse files

* Profile Organizer:

      - Allow NTCP-only peers in inbound tunnels
parent b6e24b50
No related branches found
No related tags found
No related merge requests found
...@@ -541,9 +541,11 @@ public class ProfileOrganizer { ...@@ -541,9 +541,11 @@ public class ProfileOrganizer {
l.add(peer); l.add(peer);
else { else {
RouterAddress ra = info.getTargetAddress("SSU"); RouterAddress ra = info.getTargetAddress("SSU");
// Definitely don't want peers with no SSU address at all // peers with no SSU address at all are fine.
// as long as they have NTCP
if (ra == null) { if (ra == null) {
l.add(peer); if (info.getTargetAddress("NTCP") == null)
l.add(peer);
continue; continue;
} }
// This is the quick way of doing UDPAddress.getIntroducerCount() > 0 // This is the quick way of doing UDPAddress.getIntroducerCount() > 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment