forked from I2P_Developers/i2p.i2p
Merge branch '427-disable-ssu1' into 'master'
SSU1: Disable by default (Gitlab #427) Closes #427 See merge request i2p-hackers/i2p.i2p!115
This commit is contained in:
@@ -227,7 +227,7 @@ public class PeerHelper extends HelperBase {
|
||||
for (int idx = 0; idx < 8; idx += 4) {
|
||||
if (style.equals("NTCP") && idx == 0)
|
||||
continue;
|
||||
if (style.equals("SSU") && idx == 0 && !_context.getBooleanPropertyDefaultTrue(TransportManager.PROP_ENABLE_SSU1))
|
||||
if (style.equals("SSU") && idx == 0 && !_context.getBooleanProperty(TransportManager.PROP_ENABLE_SSU1))
|
||||
continue;
|
||||
rows++;
|
||||
buf.append("<tr><td align=\"center\"><b>")
|
||||
|
@@ -268,7 +268,7 @@ public class TransportManager implements TransportEventListener {
|
||||
private void configTransports() {
|
||||
Transport udp = null;
|
||||
if (_enableUDP) {
|
||||
boolean enableSSU1 = _context.getBooleanPropertyDefaultTrue(PROP_ENABLE_SSU1);
|
||||
boolean enableSSU1 = _context.getBooleanProperty(PROP_ENABLE_SSU1);
|
||||
boolean enableSSU2 = _context.getBooleanPropertyDefaultTrue(PROP_ENABLE_SSU2);
|
||||
DHSessionKeyBuilder.PrecalcRunner dh = enableSSU1 ? _dhThread : null;
|
||||
X25519KeyFactory xdh = enableSSU2 ? _xdhThread : null;
|
||||
|
Reference in New Issue
Block a user