Handle the new YSF protocol in the parrot.

This commit is contained in:
Jonathan Naylor 2016-10-13 18:48:42 +01:00
parent 6418c4fe6b
commit 61ee63da69

View file

@ -96,6 +96,10 @@ void CNetwork::clock(unsigned int ms)
return;
}
// Handle incoming unlinks
if (::memcmp(buffer, "YSFU", 4U) == 0)
return;
// Handle the status command
if (::memcmp(buffer, "YSFS", 4U) == 0) {
unsigned char status[50U];