forked from I2P_Developers/i2p.i2p
Tunnels: Fix connection checker for NTCP2
This commit is contained in:
@ -298,7 +298,7 @@ public class ConnectChecker {
|
||||
for (RouterAddress ra : addrs) {
|
||||
String style = ra.getTransportStyle();
|
||||
String host = ra.getHost();
|
||||
if ("NTCP".equals(style)) {
|
||||
if ("NTCP".equals(style) || "NTCP2".equals(style)) {
|
||||
if (host != null) {
|
||||
if (host.contains(":"))
|
||||
rv |= NTCP_V6;
|
||||
|
Reference in New Issue
Block a user