|
|
@ -1158,13 +1158,13 @@ namespace transport |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
|
|
|
|
LogPrint(eLogInfo, "NTCP2: Proxy is not used"); |
|
|
|
LogPrint(eLogInfo, "NTCP2: Proxy is not used"); |
|
|
|
|
|
|
|
// start acceptors
|
|
|
|
auto& addresses = context.GetRouterInfo ().GetAddresses (); |
|
|
|
auto& addresses = context.GetRouterInfo ().GetAddresses (); |
|
|
|
for (const auto& address: addresses) |
|
|
|
for (const auto& address: addresses) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (!address) continue; |
|
|
|
if (!address) continue; |
|
|
|
if (address->IsPublishedNTCP2 ()) |
|
|
|
if (address->IsPublishedNTCP2 () && address->port) |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (address->host.is_v4()) |
|
|
|
if (address->host.is_v4()) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -1209,7 +1209,6 @@ namespace transport |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
ScheduleTermination (); |
|
|
|
ScheduleTermination (); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|