mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't disable floodfill if still reachable by ipv6
This commit is contained in:
parent
6ca28adcbb
commit
f5e7d87f5b
1 changed files with 2 additions and 1 deletions
|
@ -470,7 +470,8 @@ namespace i2p
|
||||||
uint8_t caps = m_RouterInfo.GetCaps ();
|
uint8_t caps = m_RouterInfo.GetCaps ();
|
||||||
caps &= ~i2p::data::RouterInfo::eReachable;
|
caps &= ~i2p::data::RouterInfo::eReachable;
|
||||||
caps |= i2p::data::RouterInfo::eUnreachable;
|
caps |= i2p::data::RouterInfo::eUnreachable;
|
||||||
caps &= ~i2p::data::RouterInfo::eFloodfill; // can't be floodfill
|
if (v6 || !SupportsV6 ())
|
||||||
|
caps &= ~i2p::data::RouterInfo::eFloodfill; // can't be floodfill
|
||||||
m_RouterInfo.SetCaps (caps);
|
m_RouterInfo.SetCaps (caps);
|
||||||
}
|
}
|
||||||
uint16_t port = 0;
|
uint16_t port = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue