|
|
@ -578,6 +578,7 @@ namespace data |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (IsV6 ()) |
|
|
|
if (IsV6 ()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
// NTCP
|
|
|
|
m_SupportedTransports &= ~eNTCPV6; |
|
|
|
m_SupportedTransports &= ~eNTCPV6; |
|
|
|
for (size_t i = 0; i < m_Addresses.size (); i++) |
|
|
|
for (size_t i = 0; i < m_Addresses.size (); i++) |
|
|
|
{ |
|
|
|
{ |
|
|
@ -588,6 +589,18 @@ namespace data |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// SSU
|
|
|
|
|
|
|
|
m_SupportedTransports &= ~eSSUV6; |
|
|
|
|
|
|
|
for (size_t i = 0; i < m_Addresses.size (); i++) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
if (m_Addresses[i].transportStyle == i2p::data::RouterInfo::eTransportSSU && |
|
|
|
|
|
|
|
m_Addresses[i].host.is_v6 ()) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
m_Addresses.erase (m_Addresses.begin () + i); |
|
|
|
|
|
|
|
break; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|