mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-23 07:35:37 +02:00
prefer public ipv6 instead rfc4941 (closes #1251)
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:
parent
a0e545a6f1
commit
ed42948051
3 changed files with 21 additions and 3 deletions
libi2pd
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue