print out sent packets
This commit is contained in:
parent
6b9a45fb70
commit
b42deeede1
@ -205,6 +205,7 @@ where
|
|||||||
loop {
|
loop {
|
||||||
match packet_queue.recv().await {
|
match packet_queue.recv().await {
|
||||||
Ok(pkt) => {
|
Ok(pkt) => {
|
||||||
|
info!("[send to {:?}] {:#?}", client_id, pkt);
|
||||||
if let Err(err) = send_pkt(&mut socket, &mut cipher, &pkt).await {
|
if let Err(err) = send_pkt(&mut socket, &mut cipher, &pkt).await {
|
||||||
warn!("error sending pkt {:#?} to {:?} {:?}", pkt, client_id, err);
|
warn!("error sending pkt {:#?} to {:?} {:?}", pkt, client_id, err);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user