mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-27 10:50:57 +01:00
input/udp - Dont log on invalid packet received
This commit is contained in:
parent
08c638f249
commit
2cdda8c564
1 changed files with 0 additions and 1 deletions
|
@ -31,7 +31,6 @@ namespace Response {
|
|||
*/
|
||||
std::optional<Type> Validate(u8* data, std::size_t size) {
|
||||
if (size < sizeof(Header)) {
|
||||
LOG_DEBUG(Input, "Invalid UDP packet received");
|
||||
return std::nullopt;
|
||||
}
|
||||
Header header{};
|
||||
|
|
Loading…
Reference in a new issue