don't publish intrducers with zero tag

This commit is contained in:
orignal 2023-08-05 15:25:16 -04:00
parent 411063e3b5
commit 8447822c35
2 changed files with 4 additions and 1 deletions

View file

@ -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)
{