forked from I2P_Developers/i2p.i2p
SSU2: Add properties to address when missing introducers
This commit is contained in:
@@ -2892,6 +2892,8 @@ public class UDPTransport extends TransportImpl implements TimedWeightedPriority
|
||||
// Make an empty "4" address
|
||||
OrderedProperties opts = new OrderedProperties();
|
||||
opts.setProperty(UDPAddress.PROP_CAPACITY, CAP_IPV4);
|
||||
if (_enableSSU2)
|
||||
addSSU2Options(opts);
|
||||
RouterAddress addr4 = new RouterAddress(STYLE, opts, SSU_OUTBOUND_COST);
|
||||
RouterAddress current = getCurrentAddress(false);
|
||||
boolean wantsRebuild = !addr4.deepEquals(current);
|
||||
|
||||
Reference in New Issue
Block a user