From 61ee63da694895e20b520192e9780370998661c3 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Thu, 13 Oct 2016 18:48:42 +0100 Subject: [PATCH] Handle the new YSF protocol in the parrot. --- YSFParrot/Network.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/YSFParrot/Network.cpp b/YSFParrot/Network.cpp index 13958e4..78a128f 100644 --- a/YSFParrot/Network.cpp +++ b/YSFParrot/Network.cpp @@ -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];