fix undesired connect packet passthrough

This commit is contained in:
narspt 2021-12-03 01:23:51 +00:00 committed by GitHub
parent 1147745c48
commit 90233f50e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -283,10 +283,11 @@ int CYSFGateway::run()
processDTMF(buffer, dt);
processWiresX(buffer, fich, true, wiresXCommandPassthrough);
} else {
if (m_ysfNetwork != NULL && m_linkType == LINK_YSF && reflector->m_wiresX)
m_exclude = (dt == YSF_DT_DATA_FR_MODE);
processDTMF(buffer, dt);
processWiresX(buffer, fich, false, wiresXCommandPassthrough);
reflector = m_wiresX->getReflector(); //reflector may have changed
if (m_ysfNetwork != NULL && m_linkType == LINK_YSF && reflector->m_wiresX)
m_exclude = (dt == YSF_DT_DATA_FR_MODE);
}
if (m_gps != NULL)