mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 00:00:29 +03:00
skip introducers for non-SSU address
This commit is contained in:
parent
3b8baa85a3
commit
1472637de7
@ -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…
Reference in New Issue
Block a user