Tunnels: Fix connection checker for NTCP2

This commit is contained in:
zzz
2019-05-13 10:05:43 +00:00
parent e174a46801
commit 847ebda3e2

View File

@ -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;