Skip to content

Commit

Permalink
Tidyed comments
Browse files Browse the repository at this point in the history
  • Loading branch information
hacknix committed Jun 11, 2016
1 parent a56af25 commit 05c1b52
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions DMRSlot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void CDMRSlot::writeModem(unsigned char *data)
return;
}
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
did = lc->getDstId();
if (DstIdBlacklist(did,m_slotNo)) {
Expand Down Expand Up @@ -276,7 +276,7 @@ void CDMRSlot::writeModem(unsigned char *data)
return;
}
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
if (DstIdBlacklist(dstId,m_slotNo)) {
LogMessage("DMR Slot %u, invalid access attempt to TG %u (TG blacklisted)", m_slotNo, dstId);
Expand Down Expand Up @@ -346,7 +346,7 @@ void CDMRSlot::writeModem(unsigned char *data)
return;
}
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
if (DstIdBlacklist(dstId,m_slotNo)) {
LogMessage("DMR Slot %u, invalid access attempt to TG %u (TG blacklisted)", m_slotNo, dstId);
Expand Down Expand Up @@ -507,7 +507,7 @@ void CDMRSlot::writeModem(unsigned char *data)
return;
}
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = lc->getDstId();
Expand Down Expand Up @@ -790,7 +790,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)
}

// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = m_netLC->getDstId();
Expand Down Expand Up @@ -878,7 +878,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)
data[1U] = 0x00U;

// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = m_netLC->getDstId();
Expand All @@ -905,7 +905,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)
CDMRFullLC fullLC;
fullLC.encode(*m_netLC, data + 2U, DT_TERMINATOR_WITH_LC);
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = m_netLC->getDstId();
Expand Down Expand Up @@ -965,7 +965,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)

m_netLC = new CDMRLC(gi ? FLCO_GROUP : FLCO_USER_USER, srcId, dstId);
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = m_netLC->getDstId();
Expand Down Expand Up @@ -1016,7 +1016,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)
if (m_netState == RS_NET_IDLE) {
m_netLC = new CDMRLC(dmrData.getFLCO(), dmrData.getSrcId(), dmrData.getDstId());
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = m_netLC->getDstId();
Expand Down Expand Up @@ -1118,7 +1118,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)
if (m_netState != RS_NET_AUDIO)
return;
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = m_netLC->getDstId();
Expand Down Expand Up @@ -1188,7 +1188,7 @@ void CDMRSlot::writeNetwork (const CDMRData& dmrData)
unsigned int srcId = csbk.getSrcId();
unsigned int dstId = csbk.getDstId();
// add check for valid dst id (e.g. TG)
//AKA - the BlockTheNet modification ;-)

// - G7RZU
unsigned int did;
did = dstId;
Expand Down

0 comments on commit 05c1b52

Please sign in to comment.