mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
set correct 4 and 6 caps for unreachable addresses
This commit is contained in:
parent
742dbdb68a
commit
97f315d488
3 changed files with 44 additions and 10 deletions
|
@ -182,6 +182,7 @@ namespace data
|
|||
void DeleteProperty (const std::string& key); // called from RouterContext only
|
||||
std::string GetProperty (const std::string& key) const; // called from RouterContext only
|
||||
void ClearProperties () { m_Properties.clear (); };
|
||||
void SetUnreachableAddressesTransportCaps (uint8_t transports); // bitmask of AddressCaps
|
||||
bool IsFloodfill () const { return m_Caps & Caps::eFloodfill; };
|
||||
bool IsReachable () const { return m_Caps & Caps::eReachable; };
|
||||
bool IsSSU (bool v4only = true) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue