mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-21 06:55:52 +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)
|
if (!group)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
// TG0 is never valid
|
||||||
|
if (id == 0U)
|
||||||
|
return false;
|
||||||
|
|
||||||
if (slotNo == 1U) {
|
if (slotNo == 1U) {
|
||||||
if (m_slot1TGWhiteList.empty())
|
if (m_slot1TGWhiteList.empty())
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user