Network: silence unhandled packet message on bad raw packet

This commit is contained in:
Dylan K. Taylor 2019-03-26 15:13:36 +00:00
parent a9c76c2424
commit c98801402b

View File

@ -240,6 +240,7 @@ class Network{
try{
$handled = $handler->handle($interface, $address, $port, $packet);
}catch(BadPacketException $e){
$handled = true;
$this->logger->error("Bad raw packet from /$address:$port: " . $e->getMessage());
$this->blockAddress($address, 600);
break;