mirror of
https://github.com/g4klx/DAPNETGateway.git
synced 2026-08-26 12:32:45 -04:00
Log blacklist hits
This commit is contained in:
parent
bb3d40d26f
commit
60647c86b8
1 changed files with 4 additions and 1 deletions
|
|
@ -323,8 +323,11 @@ int CDAPNETGateway::run()
|
|||
found = std::find(whiteList.begin(), whiteList.end(), message->m_ric) != whiteList.end();
|
||||
|
||||
// If we have a black list of RICs, use it.
|
||||
if (!blackList.empty())
|
||||
if (!blackList.empty()) {
|
||||
blackListRIC = std::find(blackList.begin(), blackList.end(), message->m_ric) != blackList.end();
|
||||
LogDebug("Blacklist match: Not queueing message to %07u, type %u, message: \"%.*s\"", message->m_ric, message->m_type, message->m_length, messageBody.c_str());
|
||||
|
||||
}
|
||||
|
||||
|
||||
std::string messageBody(reinterpret_cast<char*>(message->m_message));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue