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:
parent
277cef5ec4
commit
3e873f88c9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user