mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	UDP message client accepts any sender id on incoming datagrams
This is a defect repair as it was intended that the message id is the sender identification but the erroneous implementation enforced it to be the receiver identification as sent with previous outgoing messages.
This commit is contained in:
		
							parent
							
								
									c7ec9b1927
								
							
						
					
					
						commit
						90afae422b
					
				@ -152,7 +152,7 @@ void MessageClient::impl::parse_message (QByteArray const& msg)
 | 
				
			|||||||
      // message format is described in NetworkMessage.hpp
 | 
					      // message format is described in NetworkMessage.hpp
 | 
				
			||||||
      // 
 | 
					      // 
 | 
				
			||||||
      NetworkMessage::Reader in {msg};
 | 
					      NetworkMessage::Reader in {msg};
 | 
				
			||||||
      if (OK == check_status (in) && id_ == in.id ()) // OK and for us
 | 
					      if (OK == check_status (in))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          if (schema_ < in.schema ()) // one time record of server's
 | 
					          if (schema_ < in.schema ()) // one time record of server's
 | 
				
			||||||
                                      // negotiated schema
 | 
					                                      // negotiated schema
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user