From 6a0a483d9a62c03a4ef5ba3be934bf7f105b3723 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 3 Feb 2019 22:56:37 -0300 Subject: [PATCH] Revert "Alternate Disconnect" --- YSFGateway/WiresX.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/YSFGateway/WiresX.cpp b/YSFGateway/WiresX.cpp index 2c6e146..1042a85 100644 --- a/YSFGateway/WiresX.cpp +++ b/YSFGateway/WiresX.cpp @@ -31,7 +31,6 @@ const unsigned char DX_REQ[] = {0x5DU, 0x71U, 0x5FU}; const unsigned char CONN_REQ[] = {0x5DU, 0x23U, 0x5FU}; const unsigned char DISC_REQ[] = {0x5DU, 0x2AU, 0x5FU}; -const unsigned char DISC_REQ2[] = {0x5DU, 0x63U, 0x5FU}; const unsigned char ALL_REQ[] = {0x5DU, 0x66U, 0x5FU}; const unsigned char CAT_REQ[] = {0x5DU, 0x67U, 0x5FU}; @@ -246,9 +245,6 @@ WX_STATUS CWiresX::process(const unsigned char* data, const unsigned char* sourc } else if (::memcmp(m_command + 1U, DISC_REQ, 3U) == 0) { processDisconnect(source); return WXS_DISCONNECT; - } else if (::memcmp(m_command + 1U, DISC_REQ2, 3U) == 0) { - processDisconnect(source); - return WXS_DISCONNECT; } else if (::memcmp(m_command + 1U, CAT_REQ, 3U) == 0) { return WXS_NONE; } else { @@ -269,9 +265,6 @@ WX_STATUS CWiresX::process(const unsigned char* data, const unsigned char* sourc } else if (::memcmp(m_command + 1U, DISC_REQ, 3U) == 0) { processDisconnect(source); return WXS_DISCONNECT; - } else if (::memcmp(m_command + 1U, DISC_REQ2, 3U) == 0) { - processDisconnect(source); - return WXS_DISCONNECT; } else if (::memcmp(m_command + 1U, CAT_REQ, 3U) == 0) { processCategory(source, m_command + 5U); return WXS_NONE;