chore: anti pretendo people note and cleanup

This commit is contained in:
Maple 2025-10-07 20:39:52 +02:00
commit c698e0b3dd
25 changed files with 69 additions and 682 deletions

View file

@ -28,7 +28,7 @@ impl PRUDPSockAddr{
pub fn calculate_connection_signature(&self) -> [u8; 16] {
let mut hmac = Md5Hmac::new_from_slice(&[0; 16]).expect("fuck");
let mut data = self.regular_socket_addr.ip().octets().to_vec();
let data = self.regular_socket_addr.ip().octets().to_vec();
//data.extend_from_slice(&self.regular_socket_addr.port().to_be_bytes());
hmac.write_all(&data).expect("figuring this out was complete ass");