nic_router: "packet alloc" error only when verbose

Issue #2953
This commit is contained in:
Martin Stein 2018-07-11 19:12:56 +02:00 committed by Christian Helmuth
parent 364f69edad
commit 4442c79526
1 changed files with 2 additions and 1 deletions

View File

@ -1720,7 +1720,8 @@ void Interface::_failed_to_send_packet_link()
void Interface::_failed_to_send_packet_alloc()
{
log("[", _domain(), "] failed to send packet (packet alloc failed)");
if (_config().verbose()) {
log("[", _domain(), "] failed to send packet (packet alloc failed)"); }
}