From b42deeede1743172b25ce7a1872dddf78f120ab7 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 19 Oct 2022 17:26:18 -0600 Subject: [PATCH] print out sent packets --- src/common/mainloop/client.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/mainloop/client.rs b/src/common/mainloop/client.rs index 6cf7de4..758d075 100644 --- a/src/common/mainloop/client.rs +++ b/src/common/mainloop/client.rs @@ -205,6 +205,7 @@ where loop { match packet_queue.recv().await { Ok(pkt) => { + info!("[send to {:?}] {:#?}", client_id, pkt); if let Err(err) = send_pkt(&mut socket, &mut cipher, &pkt).await { warn!("error sending pkt {:#?} to {:?} {:?}", pkt, client_id, err); }