Browse Source

don't use port from SSU2 address

pull/1774/head
orignal 2 years ago
parent
commit
473159be0f
  1. 1
      libi2pd/RouterContext.cpp

1
libi2pd/RouterContext.cpp

@ -629,6 +629,7 @@ namespace i2p
addr->published = true; addr->published = true;
addr->caps |= i2p::data::RouterInfo::eSSUIntroducer; addr->caps |= i2p::data::RouterInfo::eSSUIntroducer;
addr->ssu->introducers.clear (); addr->ssu->introducers.clear ();
if (!addr->IsSSU2 ())
port = addr->port; port = addr->port;
} }
// publish NTCP2 // publish NTCP2

Loading…
Cancel
Save