forked from I2P_Developers/i2p.i2p
* UDP: Fix i2np.udp.allowLocal operation (thx Quizzers)
This commit is contained in:
@@ -1105,7 +1105,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
}
|
||||
if (ua.getIntroducerCount() <= 0) {
|
||||
InetAddress ia = ua.getHostAddress();
|
||||
if (ua.getPort() <= 0 || ia == null || !isPubliclyRoutable(ia.getAddress())) {
|
||||
if (ua.getPort() <= 0 || ia == null || !isValid(ia.getAddress())) {
|
||||
markUnreachable(to);
|
||||
return null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user