mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-05 14:35:31 +00:00
Don't allow any TG0 data through.
This commit is contained in:
parent
08f180399a
commit
393fad13b1
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue