1
0
Fork 0

Merge pull request #276 from narspt/patch-5

fix undesired connect packet passthrough
master
Jonathan Naylor 3 years ago committed by GitHub
commit 6cea7a63bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)

Loading…
Cancel
Save