From f9afd012779a0d58ed39c7cd126fff8103c309d6 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Mon, 27 Mar 2023 10:22:04 -0400 Subject: [PATCH] revert an oops, I committed some code commented out that should not have been; --- src/p25/packet/Trunk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p25/packet/Trunk.cpp b/src/p25/packet/Trunk.cpp index 5b28b083..52b1d08f 100644 --- a/src/p25/packet/Trunk.cpp +++ b/src/p25/packet/Trunk.cpp @@ -2239,8 +2239,8 @@ bool Trunk::writeRF_TSDU_Grant(uint32_t srcId, uint32_t dstId, uint8_t serviceOp // callback REST API to permit the granted TG on the specified voice channel if (m_p25->m_authoritative && m_p25->m_supervisor) { ::lookups::VoiceChData voiceChData = m_p25->m_affiliations.getRFChData(chNo); - if (voiceChData.isValidCh() && !voiceChData.address().empty() && voiceChData.port() > 0/* && - chNo != m_p25->m_siteData.channelNo()*/) { + if (voiceChData.isValidCh() && !voiceChData.address().empty() && voiceChData.port() > 0 && + chNo != m_p25->m_siteData.channelNo()) { json::object req = json::object(); int state = modem::DVM_STATE::STATE_P25; req["state"].set(state);