mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
more tg-rewrite work
This commit is contained in:
parent
a275e77902
commit
105d18594a
2 changed files with 6 additions and 5 deletions
|
|
@ -774,11 +774,11 @@ void CDMRSlot::writeNetwork(const CDMRData& dmrData)
|
|||
|
||||
unsigned int did = m_netLC->getDstId();
|
||||
unsigned int id = m_netLC->getSrcId();
|
||||
if (!DMRAccessControl::validateAccess(id, did, m_slotNo, true))
|
||||
if (!DMRAccessControl::validateAccess(did, did, m_slotNo, true))
|
||||
return;
|
||||
|
||||
// Test dst rewrite
|
||||
unsigned int rw_id = DMRAccessControl::DstIdRewrite(id, true);
|
||||
unsigned int rw_id = DMRAccessControl::DstIdRewrite(did, true);
|
||||
if (rw_id) {
|
||||
LogMessage("Rewrite ID: %u", rw_id);
|
||||
m_netLC->setDstId(rw_id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue