don't populate buffer of unreachable router

This commit is contained in:
orignal 2023-02-14 15:44:35 -05:00
parent 77142e59ee
commit 02a36a9fa8
4 changed files with 13 additions and 12 deletions

View file

@ -589,6 +589,8 @@ namespace data
{
if (LoadFile (fullPath))
LogPrint (eLogDebug, "RouterInfo: Buffer for ", GetIdentHashAbbreviation (GetIdentHash ()), " loaded from file");
else
return nullptr;
}
return m_Buffer->data ();
}