Browse Source

skip introducers for non-SSU address

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

5
libi2pd/RouterInfo.cpp

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

Loading…
Cancel
Save