set unreachable if firewalled. Store router's hash of introducer instead session

This commit is contained in:
orignal 2022-07-21 19:38:18 -04:00
parent 5f9f23eb3f
commit d33aeb4bb2
4 changed files with 40 additions and 13 deletions

View file

@ -589,6 +589,12 @@ namespace i2p
}
}
void RouterContext::SetUnreachableSSU2 (bool v4, bool v6)
{
if (IsSSU2Only ())
SetUnreachable (v4, v6);
}
void RouterContext::SetUnreachable (bool v4, bool v6)
{
if (v4 || (v6 && !SupportsV4 ()))