Update YSF2NXDN.cpp

Better fix to adjust the destination field...
This commit is contained in:
Andy Taylor 2020-04-28 23:44:31 +01:00 committed by GitHub
parent c861c3303e
commit 07b668218d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -546,8 +546,8 @@ int CYSF2NXDN::run()
m_netSrc = m_lookup->findCS(srcId);
//m_netDst = m_lookup->findCS(dstId);
if (srcId != 9999U) { m_netDst = m_lookup->findCS(dstId); } else { m_netDst = std::to_string(dstId); }
LogMessage("Received NXDN Header: Src: %s Dst: %s", m_netSrc.c_str(), m_netDst.c_str());
m_netDst = "TG " + std::to_string(dstId);
LogMessage("Received NXDN Header: Src: %s Dst: %s", m_netSrc.c_str(), m_netDst.c_str());
m_conv.putNXDNHeader();
m_nxdnFrames = 0;