add logging and make auth version report be edition specific
This commit is contained in:
parent
b956563255
commit
fd58995c4c
4 changed files with 11 additions and 6 deletions
|
|
@ -359,6 +359,7 @@ impl<C: Crypto> Server<C> {
|
|||
}
|
||||
|
||||
async fn handle_ping(self: Arc<Self>, mut packet: PRUDPV0Packet<Vec<u8>>, addr: PRUDPSockAddr) {
|
||||
info!("got ping");
|
||||
let header = packet.header().unwrap();
|
||||
|
||||
let Some(conn) = self.get_connection(addr).await else {
|
||||
|
|
@ -385,6 +386,7 @@ impl<C: Crypto> Server<C> {
|
|||
mut packet: PRUDPV0Packet<Vec<u8>>,
|
||||
addr: PRUDPSockAddr,
|
||||
) {
|
||||
info!("got disconnect");
|
||||
let header = packet.header().unwrap();
|
||||
|
||||
let Some(conn) = self.get_connection(addr).await else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue