Browse Source

don't update SSU2 port

pull/1743/head
orignal 3 years ago
parent
commit
3643a46a0c
  1. 2
      libi2pd/RouterContext.cpp

2
libi2pd/RouterContext.cpp

@ -256,7 +256,7 @@ namespace i2p @@ -256,7 +256,7 @@ namespace i2p
bool updated = false;
for (auto& address : m_RouterInfo.GetAddresses ())
{
if (!address->IsNTCP2 () && address->port != port)
if (!address->IsNTCP2 () && !address->IsSSU2 () && address->port != port)
{
address->port = port;
updated = true;

Loading…
Cancel
Save