Browse Source

skip introducers for non-SSU address

pull/1359/head
orignal 5 years ago
parent
commit
1472637de7
  1. 5
      libi2pd/RouterInfo.cpp

5
libi2pd/RouterInfo.cpp

@ -259,6 +259,11 @@ namespace data @@ -259,6 +259,11 @@ namespace data
else if (key[0] == 'i')
{
// introducers
if (!address->ssu)
{
LogPrint (eLogError, "RouterInfo: Introducer is presented for non-SSU address. Skipped");
continue;
}
introducers = true;
size_t l = strlen(key);
unsigned char index = key[l-1] - '0'; // TODO:

Loading…
Cancel
Save