mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
override SSU port if specified
This commit is contained in:
parent
888a19fdba
commit
c8cdeead44
3 changed files with 20 additions and 15 deletions
|
@ -26,8 +26,8 @@ namespace i2p
|
|||
const i2p::data::IdentHash& GetRouterIdentHash () const { return m_RouterInfo.GetIdentHash (); };
|
||||
CryptoPP::RandomNumberGenerator& GetRandomNumberGenerator () { return m_Rnd; };
|
||||
|
||||
void OverrideNTCPAddress (const char * host, int port); // temporary
|
||||
void UpdateAddress (const char * host); // called from SSU
|
||||
void UpdatePort (int port); // called from Daemon
|
||||
void UpdateAddress (const char * host); // called from SSU or Daemon
|
||||
bool AddIntroducer (const i2p::data::RouterInfo& routerInfo, uint32_t tag);
|
||||
void RemoveIntroducer (const boost::asio::ip::udp::endpoint& e);
|
||||
bool IsUnreachable () const { return m_IsUnreachable; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue