mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
temporary disable ip check:
when i2pd s starting, default ip address is set as 127.0.0.1 that causes problem that SSUv4 is not appers after start in RI
This commit is contained in:
parent
21cf4cfe2f
commit
06066a4df5
3 changed files with 21 additions and 13 deletions
|
@ -208,6 +208,7 @@ namespace transport
|
|||
auto& addresses = context.GetRouterInfo ().GetAddresses ();
|
||||
for (const auto& address : addresses)
|
||||
{
|
||||
LogPrint (eLogInfo, "Transports: Iteration through address ", address->host.to_string() ,":", address->port);
|
||||
if (!address) continue;
|
||||
if (m_NTCPServer == nullptr && enableNTCP)
|
||||
{
|
||||
|
@ -227,9 +228,9 @@ namespace transport
|
|||
{
|
||||
if (m_SSUServer == nullptr && enableSSU)
|
||||
{
|
||||
m_SSUServer = new SSUServer (address->port);
|
||||
LogPrint (eLogInfo, "Transports: Start listening UDP port ", address->port);
|
||||
try {
|
||||
m_SSUServer = new SSUServer (address->port);
|
||||
LogPrint (eLogInfo, "Transports: Start listening UDP port ", address->port);
|
||||
m_SSUServer->Start ();
|
||||
} catch ( std::exception & ex ) {
|
||||
LogPrint(eLogError, "Transports: Failed to bind to UDP port", address->port);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue