Update DMRAccessControl.cpp
This commit is contained in:
parent
9868df7fc7
commit
c8e6b3d363
|
@ -49,7 +49,7 @@ void CDMRAccessControl::init(const std::vector<unsigned int>& blacklist, const s
|
|||
bool CDMRAccessControl::validateSrcId(unsigned int id)
|
||||
{
|
||||
if (m_selfOnly) {
|
||||
if (m_id > 9999999) { // Check that the RF DMR-ID is bigger than 7 digits
|
||||
if (m_id > 9999999) { // Check that the Config DMR-ID is bigger than 7 digits
|
||||
if ((id == m_id/10) || (id == m_id/100)) { // does RF ID match Config ID / 10 or Config ID / 100
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue