publish introducer cap for ipv6 address

This commit is contained in:
orignal 2021-03-27 18:49:35 -04:00
parent a6ea37a21e
commit 86415bc61f

View File

@ -558,7 +558,10 @@ namespace data
caps += CAPS_FLAG_V4;
}
else if (address.host.is_v6 ())
{
isPublished = true;
if (address.IsIntroducer ()) caps += CAPS_FLAG_SSU_INTRODUCER;
}
else
{
if (address.caps & AddressCaps::eV4) caps += CAPS_FLAG_V4;