|
|
|
|
@ -835,7 +835,7 @@ bool TagP25Data::processTSDUTo(uint8_t* buffer, uint32_t peerId, uint8_t duid)
|
|
|
|
|
lookups::AffiliationLookup* aff = m_network->m_peerAffiliations[lookupPeerId];
|
|
|
|
|
if (aff == nullptr) {
|
|
|
|
|
std::string peerIdentity = m_network->resolvePeerIdentity(lookupPeerId);
|
|
|
|
|
LogError(LOG_NET, "PEER %u (%s) has an invalid affiliations lookup? This shouldn't happen BUGBUG.", lookupPeerId, peerIdentity.c_str());
|
|
|
|
|
//LogError(LOG_NET, "PEER %u (%s) has an invalid affiliations lookup? This shouldn't happen BUGBUG.", lookupPeerId, peerIdentity.c_str());
|
|
|
|
|
return false; // this will cause no TSDU to pass for this peer now...I'm not sure this is good behavior
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
@ -1050,7 +1050,7 @@ bool TagP25Data::isPeerPermitted(uint32_t peerId, lc::LC& control, DUID::E duid,
|
|
|
|
|
lookups::AffiliationLookup* aff = m_network->m_peerAffiliations[lookupPeerId];
|
|
|
|
|
if (aff == nullptr) {
|
|
|
|
|
std::string peerIdentity = m_network->resolvePeerIdentity(lookupPeerId);
|
|
|
|
|
LogError(LOG_NET, "PEER %u (%s) has an invalid affiliations lookup? This shouldn't happen BUGBUG.", lookupPeerId, peerIdentity.c_str());
|
|
|
|
|
//LogError(LOG_NET, "PEER %u (%s) has an invalid affiliations lookup? This shouldn't happen BUGBUG.", lookupPeerId, peerIdentity.c_str());
|
|
|
|
|
return false; // this will cause no traffic to pass for this peer now...I'm not sure this is good behavior
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
|