don't disable floodfill if still reachable by ipv6

This commit is contained in:
orignal 2021-06-19 14:25:50 -04:00
parent 6ca28adcbb
commit f5e7d87f5b

View file

@ -470,6 +470,7 @@ namespace i2p
uint8_t caps = m_RouterInfo.GetCaps ();
caps &= ~i2p::data::RouterInfo::eReachable;
caps |= i2p::data::RouterInfo::eUnreachable;
if (v6 || !SupportsV6 ())
caps &= ~i2p::data::RouterInfo::eFloodfill; // can't be floodfill
m_RouterInfo.SetCaps (caps);
}