add no ipv4 option in config

This commit is contained in:
Jeff Becker 2016-03-24 18:44:41 -04:00
parent 897cc7d355
commit 12c12a8ad1
No known key found for this signature in database
GPG key ID: AB950234D6EA286B
6 changed files with 67 additions and 5 deletions

View file

@ -64,7 +64,10 @@ namespace i2p
bool AcceptsTunnels () const { return m_AcceptsTunnels; };
void SetAcceptsTunnels (bool acceptsTunnels) { m_AcceptsTunnels = acceptsTunnels; };
bool SupportsV6 () const { return m_RouterInfo.IsV6 (); };
bool SupportsV4 () const { return m_RouterInfo.IsV4 (); };
void SetSupportsV6 (bool supportsV6);
void SetSupportsV4 (bool supportsV4);
void UpdateNTCPV6Address (const boost::asio::ip::address& host); // called from NTCP session
void UpdateStats ();