mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	add SAM session in webconsole
This commit is contained in:
		
							parent
							
								
									057d6ca05b
								
							
						
					
					
						commit
						bfdf006bd2
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -589,8 +589,9 @@ namespace http {
 | 
			
		|||
		s << "<b>SAM Sessions:</b><br>\r\n<br>\r\n";
 | 
			
		||||
		for (auto& it: sam->GetSessions ())
 | 
			
		||||
		{
 | 
			
		||||
			auto& name = it.second->localDestination->GetNickname ();
 | 
			
		||||
			s << "<a href=\"/?page=" << HTTP_PAGE_SAM_SESSION << "&sam_id=" << it.first << "\">";
 | 
			
		||||
			s << it.first << "</a><br>\r\n" << std::endl;
 | 
			
		||||
			s << name << " (" << it.first << ")</a><br>\r\n" << std::endl;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue