Merge pull request #4096 from CodingKoopa/change-udp-log

udp: Change invalid packet message to Debug
This commit is contained in:
James Rowe 2018-08-12 20:47:14 -06:00 committed by GitHub
commit 6a1fa3c84e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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