mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2024-11-17 21:26:04 +00:00
publish/unpublish NTCP2 address depending on network status
This commit is contained in:
parent
4d10593bb1
commit
61d84dd4c1
@ -79,7 +79,7 @@ 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, bool publish = true);
|
||||
void PublishNTCP2Address (int port, bool publish = true, bool v4only = false);
|
||||
void UpdateNTCP2Address (bool enable);
|
||||
void PublishNTCPAddress (bool publish, bool v4only = true);
|
||||
bool AddIntroducer (const i2p::data::RouterInfo::Introducer& introducer);
|
||||
|
Loading…
Reference in New Issue
Block a user