mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
address parameter for server tunnels
This commit is contained in:
parent
94659ba890
commit
616f0b2a21
3 changed files with 33 additions and 3 deletions
|
@ -750,12 +750,13 @@ namespace client
|
|||
else // regular server tunnel by default
|
||||
serverTunnel = std::make_shared<I2PServerTunnel> (name, host, port, localDestination, inPort, gzip);
|
||||
|
||||
if (!address.empty ())
|
||||
serverTunnel->SetLocalAddress (address);
|
||||
if(!isUniqueLocal)
|
||||
{
|
||||
LogPrint(eLogInfo, "Clients: disabling loopback address mapping");
|
||||
serverTunnel->SetUniqueLocal(isUniqueLocal);
|
||||
}
|
||||
|
||||
if (accessList.length () > 0)
|
||||
{
|
||||
std::set<i2p::data::IdentHash> idents;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue