Browse Source

don't filter yggdrasil address

pull/1833/head
orignal 2 years ago
parent
commit
5a167316cb
  1. 3
      libi2pd/NTCP2.cpp

3
libi2pd/NTCP2.cpp

@ -1470,7 +1470,8 @@ namespace transport
if (!ec) if (!ec)
{ {
LogPrint (eLogDebug, "NTCP2: Connected from ", ep); LogPrint (eLogDebug, "NTCP2: Connected from ", ep);
if (!i2p::util::net::IsInReservedRange(ep.address ())) if (!i2p::util::net::IsInReservedRange(ep.address ()) ||
i2p::util::net::IsYggdrasilAddress (ep.address ()))
{ {
if (conn) if (conn)
{ {

Loading…
Cancel
Save