prefer public ipv6 instead rfc4941 (closes )

Wokrs only on linux-based systems. Not tested on other *nix systems, and
not works on windows.

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2021-05-30 03:23:00 +03:00
parent a0e545a6f1
commit ed42948051
3 changed files with 21 additions and 3 deletions
libi2pd

View file

@ -177,13 +177,13 @@ namespace util
SaveStateHelper (T& orig): m_Original (orig), m_Copy (orig) {};
~SaveStateHelper () { m_Original = m_Copy; };
private:
T& m_Original;
T m_Copy;
};
};
namespace net
{
int GetMTU (const boost::asio::ip::address& localAddress);