Skip to content

Commit

Permalink
add Yggdrasil address without NTCP2
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Feb 6, 2021
1 parent 374e0cb commit 1bc3de8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions daemon/Daemon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,13 +197,13 @@ namespace util
if (!addr.is_unspecified () && addr != boost::asio::ip::address_v6::any ())
i2p::context.UpdateNTCP2V6Address (addr); // set ipv6 address if configured
}
if (ygg)
i2p::context.UpdateNTCP2V6Address (yggaddr);
}
else
i2p::context.PublishNTCP2Address (port, false); // unpublish
}

if (ygg)
i2p::context.UpdateNTCP2V6Address (yggaddr);

bool transit; i2p::config::GetOption("notransit", transit);
i2p::context.SetAcceptsTunnels (!transit);
uint16_t transitTunnels; i2p::config::GetOption("limits.transittunnels", transitTunnels);
Expand Down

0 comments on commit 1bc3de8

Please sign in to comment.