invalidate routers with incorrect family signature

This commit is contained in:
orignal 2023-05-04 15:32:19 -04:00
parent c1168c2aa0
commit 2f74e670a5

View File

@ -487,7 +487,10 @@ namespace data
if (netdb.GetFamilies ().VerifyFamily (family, GetIdentHash (), value))
m_FamilyID = netdb.GetFamilies ().GetFamilyID (family);
else
{
LogPrint (eLogWarning, "RouterInfo: Family ", family, " signature verification failed");
SetUnreachable (true);
}
}
if (!s) return;