mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +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 UpdatePort (int port); // called from Daemon
|
||||||
void UpdateAddress (const boost::asio::ip::address& host); // called from SSU or 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 UpdateNTCP2Address (bool enable);
|
||||||
void PublishNTCPAddress (bool publish, bool v4only = true);
|
void PublishNTCPAddress (bool publish, bool v4only = true);
|
||||||
bool AddIntroducer (const i2p::data::RouterInfo::Introducer& introducer);
|
bool AddIntroducer (const i2p::data::RouterInfo::Introducer& introducer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user