mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't publish intrducers with zero tag
This commit is contained in:
parent
411063e3b5
commit
8447822c35
2 changed files with 4 additions and 1 deletions
|
@ -995,7 +995,7 @@ namespace transport
|
|||
session = it1->second;
|
||||
excluded.insert (it);
|
||||
}
|
||||
if (session && session->IsEstablished ())
|
||||
if (session && session->IsEstablished () && session->GetRelayTag () && session->IsOutgoing ()) // still session with introducer?
|
||||
{
|
||||
if (ts < session->GetCreationTime () + SSU2_TO_INTRODUCER_SESSION_EXPIRATION)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue