From f36b46bfdcc48bf3897af1fd921c881dea7ea80a Mon Sep 17 00:00:00 2001 From: Aubrey Taylor Date: Mon, 23 Dec 2024 04:59:54 -0600 Subject: [PATCH] log on hole punch --- src/player.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/player.rs b/src/player.rs index e3b7b24..6efaa19 100644 --- a/src/player.rs +++ b/src/player.rs @@ -247,6 +247,9 @@ impl Handler for PlayerActor { if packet.user_id == self.id { match packet.data { + PacketData::HolePunch(_) => { + info!("got hole punch!"); + } PacketData::UdpInit(UdpInit { port }) => { let _ = self.write_sender.send(WriteMessage::SetUdp(port)); let _ = self.write_sender.send(WriteMessage::Data(Packet {