mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	PeerTest from Charlie to Alice
This commit is contained in:
		
							parent
							
								
									4fc3b8026a
								
							
						
					
					
						commit
						71168389ab
					
				
					 1 changed files with 18 additions and 13 deletions
				
			
		
							
								
								
									
										5
									
								
								SSU.cpp
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								SSU.cpp
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -790,6 +790,8 @@ namespace ssu
 | 
			
		|||
			}
 | 
			
		||||
		}
 | 
			
		||||
		else
 | 
			
		||||
		{
 | 
			
		||||
			if (m_State == eSessionStateEstablished)
 | 
			
		||||
			{
 | 
			
		||||
				// new test
 | 
			
		||||
				m_PeerTestNonces.insert (nonce);
 | 
			
		||||
| 
						 | 
				
			
			@ -808,6 +810,9 @@ namespace ssu
 | 
			
		|||
							senderEndpoint.port (), introKey, false); 		
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			else
 | 
			
		||||
				LogPrint ("SSU peer test from Charlie. We are Alice");
 | 
			
		||||
		}	
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	void SSUSession::SendPeerTest (uint32_t nonce, uint32_t address, uint16_t port, 
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue