From 07b668218d9f81fe9a8e50df10323d93c942efc8 Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Tue, 28 Apr 2020 23:44:31 +0100 Subject: [PATCH] Update YSF2NXDN.cpp Better fix to adjust the destination field... --- YSF2NXDN/YSF2NXDN.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/YSF2NXDN/YSF2NXDN.cpp b/YSF2NXDN/YSF2NXDN.cpp index aa08f5d..2f236c7 100644 --- a/YSF2NXDN/YSF2NXDN.cpp +++ b/YSF2NXDN/YSF2NXDN.cpp @@ -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;