mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	[FS] read tunnels configs which ends with .conf only
Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
		
							parent
							
								
									50a77fedca
								
							
						
					
					
						commit
						5700e18257
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -490,6 +490,7 @@ namespace client
 | 
			
		|||
			{
 | 
			
		||||
				for (auto& it: files)
 | 
			
		||||
				{
 | 
			
		||||
					if (it.substr(it.size() - 5) != ".conf") continue; // skip files which not ends with ".conf"
 | 
			
		||||
					LogPrint(eLogDebug, "Clients: tunnels extra config file: ", it);
 | 
			
		||||
					ReadTunnels (it, numClientTunnels, numServerTunnels);
 | 
			
		||||
				}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue