set and check proxy status for ipv6 if presented

This commit is contained in:
orignal 2022-10-27 15:02:54 -04:00
parent 5fb1247b87
commit 3e3f92c616
2 changed files with 9 additions and 3 deletions

View file

@ -463,7 +463,7 @@ namespace i2p
updated = true;
}
if (host.is_v6 () && address->IsV6 () && address->ssu &&
(!address->ssu->mtu || updated))
(!address->ssu->mtu || updated) && m_StatusV6 != eRouterStatusProxy)
{
// update MTU
auto mtu = i2p::util::net::GetMTU (host);