Fix typos

This commit is contained in:
Dimitris Apostolou 2024-01-04 21:35:25 +02:00
parent c5cab05a6b
commit 577c71b930
No known key found for this signature in database
GPG key ID: 4B5D20E938204A8A
5 changed files with 5 additions and 5 deletions

View file

@ -995,7 +995,7 @@ namespace data
bool RouterInfo::IsPublished (bool v4) const
{
if (m_Caps & (eUnreachable | eHidden)) return false; // if router sets U or H we assume that all addreses are not published
if (m_Caps & (eUnreachable | eHidden)) return false; // if router sets U or H we assume that all addresses are not published
auto addr = GetAddresses ();
if (v4)
return ((*addr)[eNTCP2V4Idx] && ((*addr)[eNTCP2V4Idx])->published) ||