mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	whitelist synonim for accesslist
This commit is contained in:
		
							parent
							
								
									cb0d30cf42
								
							
						
					
					
						commit
						4e4c117023
					
				
					 2 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -663,6 +663,8 @@ namespace client
 | 
			
		|||
					// optional params
 | 
			
		||||
					int inPort = section.second.get (I2P_SERVER_TUNNEL_INPORT, 0);
 | 
			
		||||
					std::string accessList = section.second.get (I2P_SERVER_TUNNEL_ACCESS_LIST, "");
 | 
			
		||||
					if(accessList == "")
 | 
			
		||||
						accessList=section.second.get (I2P_SERVER_TUNNEL_WHITE_LIST, "");
 | 
			
		||||
					std::string hostOverride = section.second.get (I2P_SERVER_TUNNEL_HOST_OVERRIDE, "");
 | 
			
		||||
					std::string webircpass = section.second.get<std::string> (I2P_SERVER_TUNNEL_WEBIRC_PASSWORD, "");
 | 
			
		||||
					bool gzip = section.second.get (I2P_SERVER_TUNNEL_GZIP, true);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,6 +54,7 @@ namespace client
 | 
			
		|||
	const char I2P_SERVER_TUNNEL_SIGNATURE_TYPE[] = "signaturetype";
 | 
			
		||||
	const char I2P_SERVER_TUNNEL_INPORT[] = "inport";
 | 
			
		||||
	const char I2P_SERVER_TUNNEL_ACCESS_LIST[] = "accesslist";
 | 
			
		||||
	const char I2P_SERVER_TUNNEL_WHITE_LIST[] = "whitelist";
 | 
			
		||||
	const char I2P_SERVER_TUNNEL_GZIP[] = "gzip";
 | 
			
		||||
	const char I2P_SERVER_TUNNEL_WEBIRC_PASSWORD[] = "webircpassword";
 | 
			
		||||
	const char I2P_SERVER_TUNNEL_ADDRESS[] = "address";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue