mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-25 05:38:46 -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
0dc43a0693
commit
6997937048
@ -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…
Reference in New Issue
Block a user