1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-08 18:47:52 +00:00

don't drop introducers without iExp

This commit is contained in:
orignal 2021-04-07 15:55:38 -04:00
parent 277cef5ec4
commit 3e873f88c9

View File

@ -341,7 +341,7 @@ namespace data
int numValid = 0;
for (auto& it: address->ssu->introducers)
{
if (ts <= it.iExp && it.iPort > 0 &&
if ((!it.iExp || ts <= it.iExp) && it.iPort > 0 &&
((it.iHost.is_v4 () && address->IsV4 ()) || (it.iHost.is_v6 () && address->IsV6 ())))
numValid++;
else