forked from I2P_Developers/i2p.i2p
SSU: Don't publish B cap when snatted
as suggested by orignal
This commit is contained in:
@@ -2915,7 +2915,9 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
|
||||
// if we have explicit external addresses, they had better be reachable
|
||||
String caps;
|
||||
if (introducersRequired || !canIntroduce(isIPv6)) {
|
||||
if (isSnatted()) {
|
||||
caps = isIPv6 ? CAP_IPV6 : CAP_IPV4;
|
||||
} else if (introducersRequired || !canIntroduce(isIPv6)) {
|
||||
if (!directIncluded) {
|
||||
if (isIPv6)
|
||||
caps = CAP_TESTING_6;
|
||||
|
||||
Reference in New Issue
Block a user