SSU: Skip router addresses with introducers and '6' cap

for now, until implemented, see proposal 158
This commit is contained in:
zzz
2021-03-19 11:36:17 -04:00
parent 0dcc126af0
commit 3615a9b235

View File

@@ -2108,6 +2108,10 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
// introducers
if (getIPv6Config() == IPV6_ONLY)
continue;
// TODO support IPv6 introductions
String caps = addr.getOption(UDPAddress.PROP_CAPACITY);
if (caps != null && caps.contains(CAP_IPV6) /* && !_haveIPv6Address */ )
continue;
}
return addr;
}