Browse Source

honour explicitPeer param in tunnels

pull/1525/head
orignal 5 years ago
parent
commit
bdb918cdb3
  1. 2
      libi2pd_client/ClientContext.cpp

2
libi2pd_client/ClientContext.cpp

@ -459,6 +459,8 @@ namespace client @@ -459,6 +459,8 @@ namespace client
else if (authType == "2") // PSK
ReadI2CPOptionsGroup (section, I2CP_PARAM_LEASESET_CLIENT_PSK, options);
}
std::string explicitPeers = GetI2CPStringOption(section, I2CP_PARAM_EXPLICIT_PEERS, "");
if (explicitPeers.length () > 0) options[I2CP_PARAM_EXPLICIT_PEERS] = explicitPeers;
}
void ClientContext::ReadI2CPOptionsFromConfig (const std::string& prefix, std::map<std::string, std::string>& options) const

Loading…
Cancel
Save