added error reasons to invalid packets
This commit is contained in:
parent
d53349c264
commit
fd77632cd7
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ impl Router {
|
||||||
let packet = match PRUDPPacket::new(&mut stream){
|
let packet = match PRUDPPacket::new(&mut stream){
|
||||||
Ok(p) => p,
|
Ok(p) => p,
|
||||||
Err(e) => {
|
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;
|
break;
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue