mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
check availability of particular address
This commit is contained in:
parent
66a238045f
commit
89e8d99294
3 changed files with 10 additions and 4 deletions
|
@ -837,6 +837,11 @@ namespace data
|
|||
return m_SupportedTransports & (eNTCP2V4 | eNTCP2V6);
|
||||
}
|
||||
|
||||
bool RouterInfo::IsNTCP2V6 () const
|
||||
{
|
||||
return m_SupportedTransports & eNTCP2V6;
|
||||
}
|
||||
|
||||
bool RouterInfo::IsV6 () const
|
||||
{
|
||||
return m_SupportedTransports & (eSSUV6 | eNTCP2V6);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue