don't include same introducer twice

This commit is contained in:
orignal 2014-09-09 08:03:05 -04:00
parent 98fd1c7dbc
commit 5435d20199
4 changed files with 14 additions and 8 deletions

View file

@ -28,7 +28,7 @@ namespace i2p
void OverrideNTCPAddress (const char * host, int port); // temporary
void UpdateAddress (const char * host); // called from SSU
void AddIntroducer (const i2p::data::RouterInfo& routerInfo, uint32_t tag);
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; };
void SetUnreachable ();