1
0
Fork 0

Revert "Update YSFGateway.cpp"

This reverts commit e57cadc679.
ycs232-kbc
Andy Taylor 6 years ago
parent e57cadc679
commit aaee560119

@ -574,10 +574,6 @@ void CYSFGateway::processWiresX(const unsigned char* buffer, unsigned char fi, u
case WXS_DISCONNECT: case WXS_DISCONNECT:
if (m_linkType == LINK_YSF) { if (m_linkType == LINK_YSF) {
LogMessage("Disconnect has been requested by %10.10s", buffer + 14U); LogMessage("Disconnect has been requested by %10.10s", buffer + 14U);
if ( (wiresXCommandPassthrough) && (::memcmp(buffer + 0U, "YSFD", 4U) == 0) ) {
m_ysfNetwork->write(buffer);
m_wiresX->sendDisconnectReply();
}
m_ysfNetwork->writeUnlink(3U); m_ysfNetwork->writeUnlink(3U);
m_ysfNetwork->clearDestination(); m_ysfNetwork->clearDestination();

Loading…
Cancel
Save