mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
publish ipv6 introducers
This commit is contained in:
parent
69afd3a1da
commit
ad019da553
4 changed files with 85 additions and 41 deletions
|
@ -466,7 +466,7 @@ namespace i2p
|
|||
|
||||
void RouterContext::SetUnreachable (bool v4, bool v6)
|
||||
{
|
||||
if (v4)
|
||||
if (v4 || (v6 && !SupportsV4 ()))
|
||||
{
|
||||
// set caps
|
||||
uint8_t caps = m_RouterInfo.GetCaps ();
|
||||
|
@ -496,7 +496,7 @@ namespace i2p
|
|||
|
||||
void RouterContext::SetReachable (bool v4, bool v6)
|
||||
{
|
||||
if (v4)
|
||||
if (v4 || (v6 && !SupportsV4 ()))
|
||||
{
|
||||
// update caps
|
||||
uint8_t caps = m_RouterInfo.GetCaps ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue