forked from I2P_Developers/i2p.i2p
Transport: Don't repeatedly publish RI if IPv6-only but not configured IPv6-only
This commit is contained in:
@ -2312,7 +2312,7 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
|||||||
RouterAddress local = new RouterAddress(STYLE, localOpts, DEFAULT_COST);
|
RouterAddress local = new RouterAddress(STYLE, localOpts, DEFAULT_COST);
|
||||||
replaceCurrentExternalAddress(local, isIPv6);
|
replaceCurrentExternalAddress(local, isIPv6);
|
||||||
}
|
}
|
||||||
if (hasCurrentAddress()) {
|
if (getCurrentAddress(false) != null) {
|
||||||
// We must remove current address, otherwise the user will see
|
// We must remove current address, otherwise the user will see
|
||||||
// "firewalled with inbound NTCP enabled" warning in console.
|
// "firewalled with inbound NTCP enabled" warning in console.
|
||||||
// Remove the IPv4 address only
|
// Remove the IPv4 address only
|
||||||
|
Reference in New Issue
Block a user