mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Don't allow any TG0 data through.
This commit is contained in:
@@ -75,6 +75,10 @@ bool CDMRAccessControl::validateTGId(unsigned int slotNo, bool group, unsigned i
|
||||
if (!group)
|
||||
return true;
|
||||
|
||||
// TG0 is never valid
|
||||
if (id == 0U)
|
||||
return false;
|
||||
|
||||
if (slotNo == 1U) {
|
||||
if (m_slot1TGWhiteList.empty())
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user