mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 20:44:39 +00:00
correct SSU2 only detection
This commit is contained in:
parent
473159be0f
commit
6039cdceb0
@ -229,7 +229,7 @@ namespace i2p
|
|||||||
{
|
{
|
||||||
auto transports = m_RouterInfo.GetCompatibleTransports (false);
|
auto transports = m_RouterInfo.GetCompatibleTransports (false);
|
||||||
return (transports & (i2p::data::RouterInfo::eSSU2V4 | i2p::data::RouterInfo::eSSU2V6)) &&
|
return (transports & (i2p::data::RouterInfo::eSSU2V4 | i2p::data::RouterInfo::eSSU2V6)) &&
|
||||||
(transports & ~(i2p::data::RouterInfo::eSSUV4 | i2p::data::RouterInfo::eSSUV6));
|
!(transports & (i2p::data::RouterInfo::eSSUV4 | i2p::data::RouterInfo::eSSUV6));
|
||||||
}
|
}
|
||||||
|
|
||||||
void RouterContext::SetStatus (RouterStatus status)
|
void RouterContext::SetStatus (RouterStatus status)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user