mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-09-02 19:30:23 +01:00
don't create unique loopback address for ::1 if not set explicitly
This commit is contained in:
parent
310ee78d24
commit
938a698904
1 changed files with 1 additions and 1 deletions
|
@ -774,7 +774,7 @@ namespace client
|
|||
i2p::data::CryptoKeyType cryptoType = section.second.get (I2P_CLIENT_TUNNEL_CRYPTO_TYPE, i2p::data::CRYPTO_KEY_TYPE_ELGAMAL);
|
||||
|
||||
std::string address = section.second.get<std::string> (I2P_SERVER_TUNNEL_ADDRESS, "");
|
||||
bool isUniqueLocal = section.second.get (I2P_SERVER_TUNNEL_ENABLE_UNIQUE_LOCAL, true);
|
||||
bool isUniqueLocal = section.second.get (I2P_SERVER_TUNNEL_ENABLE_UNIQUE_LOCAL, (host == "::1") ? false : true);
|
||||
bool ssl = section.second.get (I2P_SERVER_TUNNEL_SSL, false);
|
||||
|
||||
// I2CP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue