Merge branch 'master' into IPv6

This commit is contained in:
Jonathan Naylor 2020-09-22 15:21:42 +01:00
commit cccb5eb372
3 changed files with 12 additions and 0 deletions

View file

@ -111,6 +111,10 @@ unsigned int CNetwork::readData(unsigned char* data, unsigned int length, sockad
if (::memcmp(data, "YSFO", 4U) == 0)
return 0U;
// Throw away any info messages
if (::memcmp(data, "YSFI", 4U) == 0)
return 0U;
// Handle incoming status requests
if (::memcmp(data, "YSFS", 4U) == 0) {
m_socket.write(m_status, 42U, addr, addrLen);