input/udp - Dont log on invalid packet received

pull/8/head
James Rowe 5 years ago
parent 08c638f249
commit 2cdda8c564

@ -31,7 +31,6 @@ namespace Response {
*/ */
std::optional<Type> Validate(u8* data, std::size_t size) { std::optional<Type> Validate(u8* data, std::size_t size) {
if (size < sizeof(Header)) { if (size < sizeof(Header)) {
LOG_DEBUG(Input, "Invalid UDP packet received");
return std::nullopt; return std::nullopt;
} }
Header header{}; Header header{};

Loading…
Cancel
Save