From fd77632cd779b03622e5cab6f378bf1727189e2f Mon Sep 17 00:00:00 2001 From: DJMrTV Date: Tue, 21 Jan 2025 20:16:09 +0100 Subject: [PATCH] added error reasons to invalid packets --- src/prudp/router.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/prudp/router.rs b/src/prudp/router.rs index 6db9a84..5437fc9 100644 --- a/src/prudp/router.rs +++ b/src/prudp/router.rs @@ -50,7 +50,7 @@ impl Router { let packet = match PRUDPPacket::new(&mut stream){ Ok(p) => p, Err(e) => { - error!("Somebody({}) is fucking with the servers or their connection is bad", addr); + error!("Somebody({}) is fucking with the servers or their connection is bad (reason: {})", addr, e); break; }, };