Skip to content

Commit

Permalink
Update DMRAccessControl.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyTaylorTweet authored Jul 9, 2017
1 parent 9868df7 commit c8e6b3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DMRAccessControl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c8e6b3d

Please sign in to comment.