Browse Source

print out sent packets

pull/122/head
jake 2 years ago
parent
commit
b42deeede1
  1. 1
      src/common/mainloop/client.rs

1
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);
}

Loading…
Cancel
Save