mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00: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')
|
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…
x
Reference in New Issue
Block a user