check availability of particular address

This commit is contained in:
orignal 2021-02-03 20:09:43 -05:00
parent 66a238045f
commit 89e8d99294
3 changed files with 10 additions and 4 deletions

View file

@ -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);