mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-24 01:46:36 +02:00
skip introducers for non-SSU address
This commit is contained in:
parent
3b8baa85a3
commit
1472637de7
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue