enable/disable NTCP2 address

This commit is contained in:
orignal 2018-08-03 14:49:28 -04:00
parent 4cf79088f9
commit f7415c8a8f
3 changed files with 39 additions and 9 deletions

View file

@ -78,7 +78,8 @@ namespace i2p
void UpdatePort (int port); // called from Daemon
void UpdateAddress (const boost::asio::ip::address& host); // called from SSU or Daemon
void PublishNTCP2Address (int port);
void PublishNTCP2Address (int port, bool publish = true);
void UpdateNTCP2Address (bool enable);
bool AddIntroducer (const i2p::data::RouterInfo::Introducer& introducer);
void RemoveIntroducer (const boost::asio::ip::udp::endpoint& e);
bool IsUnreachable () const;