* Profile Organizer:

- Allow NTCP-only peers in inbound tunnels
This commit is contained in:
zzz
2009-07-11 18:04:08 +00:00
parent b6e24b5094
commit cf3efc11ba

View File

@ -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