mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
set MTU if local address is specified explicitly. update MTU for ipv6 if not set
This commit is contained in:
parent
09aa96e486
commit
dbb9295063
3 changed files with 72 additions and 18 deletions
|
@ -144,6 +144,7 @@ namespace garlic
|
|||
void SetSupportsV6 (bool supportsV6);
|
||||
void SetSupportsV4 (bool supportsV4);
|
||||
void SetSupportsMesh (bool supportsmesh, const boost::asio::ip::address_v6& host);
|
||||
void SetMTU (int mtu, bool v4);
|
||||
i2p::crypto::NoiseSymmetricState& GetCurrentNoiseState () { return m_CurrentNoiseState; };
|
||||
|
||||
void UpdateNTCP2V6Address (const boost::asio::ip::address& host); // called from Daemon. TODO: remove
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue