forked from I2P_Developers/i2p.i2p
* i2psnark:
- Drop incoming connections on HTTP port - Define port 6881 in one place - Don't let random DHT port be 6881 - Exception tweak
This commit is contained in:
@@ -56,7 +56,7 @@ abstract class ExtensionHandler {
|
||||
}
|
||||
// include the map even if empty so the far-end doesn't NPE
|
||||
handshake.put("m", m);
|
||||
handshake.put("p", Integer.valueOf(6881));
|
||||
handshake.put("p", Integer.valueOf(TrackerClient.PORT));
|
||||
handshake.put("v", "I2PSnark");
|
||||
handshake.put("reqq", Integer.valueOf(5));
|
||||
return BEncoder.bencode(handshake);
|
||||
|
||||
Reference in New Issue
Block a user