chore: anti pretendo people note and cleanup
This commit is contained in:
parent
4e83068662
commit
c698e0b3dd
25 changed files with 69 additions and 682 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue