mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
* check router info addresses for nullptr
* Request LS before expiration for smoother handover
This commit is contained in:
parent
a0144f093f
commit
eaac21cda1
6 changed files with 37 additions and 3 deletions
|
@ -114,6 +114,7 @@ namespace transport
|
|||
auto& addresses = context.GetRouterInfo ().GetAddresses ();
|
||||
for (auto address : addresses)
|
||||
{
|
||||
if (!address) continue;
|
||||
if (m_NTCPServer == nullptr && enableNTCP)
|
||||
{
|
||||
m_NTCPServer = new NTCPServer ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue