From 1472637de71e5c6484525bab6bc640828a6112e6 Mon Sep 17 00:00:00 2001 From: orignal Date: Sat, 11 May 2019 07:27:34 -0400 Subject: [PATCH] skip introducers for non-SSU address --- libi2pd/RouterInfo.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libi2pd/RouterInfo.cpp b/libi2pd/RouterInfo.cpp index 6b520943..ee46a5b0 100644 --- a/libi2pd/RouterInfo.cpp +++ b/libi2pd/RouterInfo.cpp @@ -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: