mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	honour explicitPeer param in tunnels
This commit is contained in:
		
							parent
							
								
									a4c4bf4b58
								
							
						
					
					
						commit
						bdb918cdb3
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue