mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
try adding ipv6 only mode for ssu
This commit is contained in:
parent
4cf4436169
commit
a3b08654b4
3 changed files with 36 additions and 9 deletions
|
@ -120,11 +120,14 @@ namespace transport
|
|||
m_NTCPServer->Start ();
|
||||
}
|
||||
|
||||
if (address->transportStyle == RouterInfo::eTransportSSU && address->host.is_v4 ())
|
||||
if (address->transportStyle == RouterInfo::eTransportSSU)
|
||||
{
|
||||
if (!m_SSUServer)
|
||||
{
|
||||
m_SSUServer = new SSUServer (address->port);
|
||||
{
|
||||
if (address->host.is_v4())
|
||||
m_SSUServer = new SSUServer (address->port);
|
||||
else
|
||||
m_SSUServer = new SSUServer (address->host, address->port);
|
||||
LogPrint (eLogInfo, "Transports: Start listening UDP port ", address->port);
|
||||
m_SSUServer->Start ();
|
||||
DetectExternalIP ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue